macOS
brew install xapianlocal Homebrew formula metadata
安装
brew install xapianlocal Homebrew formula metadata
nix profile install nixpkgs#xapiannixpkgs package indexes · xapian · 来源: raw.githubusercontent.com
概览
C++ search engine library
历史
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.
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.
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.
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.
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.
安全态势
broad file, network, media, or database tool signal. generalized runtime or code generation signal.
yellow 风险 · 中 置信度 · runtime
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
copydatabase | cli | 全局可执行文件 | |
simpleexpand | cli | 全局可执行文件 | |
simpleindex | cli | 全局可执行文件 | |
simplesearch | cli | 全局可执行文件 | |
xapian-check | cli | 全局可执行文件 | |
xapian-compact | cli | 全局可执行文件 | |
xapian-config | cli | 全局可执行文件 | |
xapian-delve | cli | 全局可执行文件 | |
xapian-metadata | cli | 全局可执行文件 | |
xapian-pos | cli | 全局可执行文件 | |
xapian-progsrv | cli | 全局可执行文件 | |
xapian-quest | cli | 全局可执行文件 | |
xapian-replicate | cli | 全局可执行文件 | |
xapian-replicate-server | cli | 全局可执行文件 | |
xapian-tcpsrv | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:xapian |
|---|---|
| 版本 | 2.0.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/xapian |
| 主页 | https://xapian.org/ |
| 仓库 | https://git.xapian.org/xapian |
| 上游文档 | https://xapian.org/docs |
| 许可证 | GPL-2.0-or-later |
| 源码归档 | https://oligarchy.co.uk/xapian/2.0.0/xapian-core-2.0.0.tar.xz |
| 最后更新 | 2026-06-22T14:06:41-07:00 |
| Pulse | updated |
| 构建依赖 | python@3.14, sphinx-doc |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | xapian |
| Version Scheme | 1 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
xapian
nix profile install nixpkgs#xapian来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.