Automic VaultAutomic Vault

brew

Install xapian with Homebrew, Nix

C++ search engine library. Version 2.0.0 via Homebrew; verified 2026-06-22.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install xapian

local Homebrew formula metadata

overview

Package summary

C++ search engine library

Commands and aliases

  • copydatabase
  • simpleexpand
  • simpleindex
  • simplesearch
  • xapian-check
  • xapian-compact
  • xapian-config
  • xapian-delve
  • xapian-metadata
  • xapian-pos
  • xapian-progsrv
  • xapian-quest
  • xapian-replicate
  • xapian-replicate-server
  • xapian-tcpsrv

history

Project history and usage

Xapian is an open-source C++ search engine library for adding full-text indexing and search to applications. It provides probabilistic ranking, boolean operators, phrase and proximity search, stemming, spelling correction, synonyms, snippets, facets, and language bindings for many ecosystems.

Unlike a standalone search server first, Xapian is primarily a library and toolkit. Developers embed it into applications, while Omega supplies a packaged indexing and CGI search application built on top of Xapian.

Project history

Xapian descends from more than 30 years of commercial and academic information-retrieval work. The project is partly derived from Open Muscat, a GPL release from BrightStation PLC that replaced the older proprietary Muscat 3.6 system written largely in BCPL.

Muscat was originally written by Dr. Martin Porter at the University of Cambridge. In 1984 Porter and John Snyder founded Cambridge CD Publishing to commercialize the technology; the company became Muscat Ltd, was acquired by Maid PLC, and later became part of the Dialog Corporation and BrightStation story.

After BrightStation, former employees and Open Muscat community developers continued from the last GPLed version. The project was first called OmSeek, but a naming complaint over similarity to Omsee led the developers to choose the name Xapian.

Adoption history

Xapian's adoption came from being embeddable, portable, and mature: it exposes search as a programmer library rather than requiring every application to run a separate search service. The project lists bindings for languages including Perl, Python, PHP, Java, Tcl, C#, Ruby, Lua, Erlang, Node.js, and R.

Known users include the University of Cologne library OPAC through OpenBib, Die Zeit search, Debian website and mailing-list search, TheyWorkForYou, WhatDoTheyKnow, Recoll desktop search, Notmuch email search, MoinMoin, Roundup, Doxygen searchable documentation, and Kiwix. Those examples show Xapian's range from web search to mail, desktop, documentation, and offline content.

How it is used

Developers use Xapian by creating or updating databases of documents, adding terms and values, and querying through the library's query parser and ranking models. The command-line tools in the package support checking, compacting, copying, probing, replicating, and serving Xapian databases.

Omega covers the ready-made website-search use case: omindex or scriptindex creates databases, omega serves searches through CGI, and templates define presentation. Xapian itself covers lower-level application search where callers want control over indexing, weighting, filtering, and query construction.

Why package nerds care

Xapian is a quietly important package because many users meet it indirectly through search features in mail clients, desktop search, wikis, issue trackers, documentation generators, and web archives. It is the kind of library package that makes a system's search boxes work without being the visible application.

Timeline

  • 1984: Martin Porter and John Snyder found Cambridge CD Publishing around the Muscat technology.
  • 1990s: Muscat evolves commercially through Muscat Ltd, Maid PLC, Dialog Corporation, and BrightStation PLC.
  • Early 2000s: Developers continue from the GPLed Open Muscat code, initially as OmSeek and then as Xapian.
  • 2002-09-20: Xapian 0.5.0 is identified by secondary sources as the first official Xapian release.
  • 2026-03-16: Xapian 2.0.0 is released as the current stable branch according to the project homepage.

Related projects

  • Open Muscat is Xapian's direct open-source ancestor.
  • Omega is the packaged web and intranet search application supplied by the Xapian project.
  • Recoll, Notmuch, MoinMoin, Doxygen, and Kiwix are notable downstream or integrating projects.

security posture

Risk level: yellow

broad file, network, media, or database tool signal. generalized runtime or code generation signal.

Risk classifier

yellow risk · medium confidence · runtime

Why

  • broad file, network, media, or database tool signal
  • generalized runtime or code generation signal

Signals

  • text:database,server
  • text:repl

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 2 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
copydatabasecliglobal executable
simpleexpandcliglobal executable
simpleindexcliglobal executable
simplesearchcliglobal executable
xapian-checkcliglobal executable
xapian-compactcliglobal executable
xapian-configcliglobal executable
xapian-delvecliglobal executable
xapian-metadatacliglobal executable
xapian-poscliglobal executable
xapian-progsrvcliglobal executable
xapian-questcliglobal executable
xapian-replicatecliglobal executable
xapian-replicate-servercliglobal executable
xapian-tcpsrvcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version2.0.0
manager updated2026-06-22
local dataok
upstreamnot checked
latest detectednot detected

https://xapian.org/

  • infoRelease/tag comparison is only available for GitHub repositories.https://xapian.org/none confidence

install metadata

Package metadata

Package keybrew:xapian
Version2.0.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/xapian
Homepagehttps://xapian.org/
Repositoryhttps://git.xapian.org/xapian
Upstream docshttps://xapian.org/docs
LicenseGPL-2.0-or-later
Source archivehttps://oligarchy.co.uk/xapian/2.0.0/xapian-core-2.0.0.tar.xz
Last updated2026-06-22T14:06:41-07:00
Pulseupdated
Build dependenciespython@3.14, sphinx-doc
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namexapian
Version Scheme1
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

xapian

nix profile install nixpkgs#xapian
  • normalized package name match
  • Matched by: Xapian
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: xapian from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment