Search

Xapian – probabilistic information retrieval library

Xapian is an information retrieval library that enables applications to index document collections and perform relevance-ranked searches. It uses probabilistic ranking techniques and offers a flexible interface for developers who want to incorporate sophisticated search functionality into their own software.

The library manages its own search databases and provides tools for indexing text, processing queries and retrieving matching documents. It can be used in applications ranging from small document collections to large search indexes.

Xapian supports both free-text queries and structured expressions. Developers can combine keyword searches with Boolean operators, phrase matching, proximity constraints and filters on document values.

The library also provides facilities for improving search quality, including spelling correction, synonyms, stemming and relevance feedback. These features help applications interpret queries and return relevant documents even when users provide incomplete or imprecise search terms.

Xapian includes language bindings and related tools, including Omega, which can be used to construct searchable websites and document collections.

This is free and open source software.

Key Features

  • Probabilistic relevance ranking with multiple weighting models.
  • Full-text indexing of large document collections.
  • Boolean, phrase, proximity and wildcard queries.
  • Field-specific querying through configurable prefixes.
  • Phrase matching with configurable word proximity.
  • Stemming for a wide range of languages.
  • Spelling suggestions derived from indexed vocabulary.
  • Synonym expansion and relevance feedback.
  • Faceted navigation using indexed document values.
  • Result snippets with highlighting of matching terms.
  • Incremental indexing with simultaneous search and update.
  • Transactional updates for maintaining database consistency.
  • Unicode text indexing and processing.
  • Language bindings for integrating search into other applications.
  • Cross-platform support – runs on Linux, macOS, and Windows.

Website: xapian.org
Support:
Developer: Olly Betts, Hein Ragas, James Aylett, Sam Liddicott, Richard Boulton, Dan Colish
License: GNU General Public License v2.0

Xapian is written in C++. Learn C++ with our recommended free books and free tutorials.


Related Software

Search Engines for Big Data
ElasticSearchFlexible and powerful distributed RESTful search engine and analytics
SolrSearch engine server that uses Lucene
LuceneSearch engine library
QuickwitCloud-native search engine
MeiliSearchEasy to use and deploy search engine
OpenSearchEnterprise-grade search and observability suite
SphinxSearch engine designed with indexing database content in mind
XapianProbabilistic information retrieval library
TypesenseFast, typo-tolerant search engine
Manticore SearchEasy to use fast database for search
RediSearchQuery and indexing engine for Redis
ParadeDBPostgreSQL extension adding search and analytical capabilities to Postgres
VespaAI search platform
MroongaMySQL storage engine based on the Groonga search engine
PGroongaAdds a Groonga-powered index access method
GroongaFulltext search engine and column store

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.