# hightman/xunsearch

免费开源的中文搜索引擎，采用 C/C++ 编写 (基于 xapian 和 scws)，提供 PHP 的开发接口和丰富文档

Repository: https://github.com/hightman/xunsearch
Canonical: https://ross.abutalabs.com/products/xunsearch
Homepage: http://www.xunsearch.com
Language: PHP
License: NOASSERTION
License Family: other
Last push: 2026-04-06T13:36:37+00:00

## Health v2 (maintenance only)
Score: 66/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 76, release rhythm 35, longevity 100
- inputs: {"age_days": 5467, "days_push": 149, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1686, forks 387 (observed 2026-08-28T04:05:22.116667+00:00)

## What it is
Xunsearch is a free open-source Chinese full-text search engine built in C/C++ on Xapian and SCWS, with a PHP SDK. It provides indexing/search daemons plus features like pinyin search, suggestions, highlighting, and faceted search.

## Use cases
- add Chinese full-text search to a PHP website
- search a MySQL database with Chinese word segmentation
- build site search for a forum or CMS
- implement pinyin search and search suggestions
- build vertical/industry portal search

## When to choose
- your stack is PHP and you need Chinese full-text search on Unix servers
- you want an all-in-one engine with segmentation, suggestions, and highlighting out of the box

## When to avoid
- you need a non-PHP SDK or Windows server deployment
- you prefer actively developed engines like Elasticsearch or Meilisearch

## Facets
- artifact type: library
- maturity: maintenance
- function: search-engine, nlp
- domain: web-development
- platform: php, cpp, self-hosted
- tags: search, natural-language-processing, linux

## Member repositories
- hightman/xunsearch (main) score 66

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:22.116667+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:38:58.739796+00:00, confidence not recorded.
  - readme: https://github.com/hightman/xunsearch (fetched 2026-08-28T04:05:22.116667+00:00, sha 56884838cad9)
  - homepage: http://www.xunsearch.com (fetched 2026-08-29T11:14:08.657669+00:00, sha a836892c42fe)
  - site_page: https://www.xunsearch.com/about (fetched 2026-08-29T11:14:08.660986+00:00, sha 7916e9c7cbfd)
  - site_page: https://www.xunsearch.com/doc/php/guide/start.installation (fetched 2026-08-29T11:14:08.663142+00:00, sha 9120aef4fc52)
  - site_page: https://www.xunsearch.com/doc/php/guide/start.changelog (fetched 2026-08-29T11:14:08.665417+00:00, sha 7dbdf675a324)
- Data as of 2026-08-30T08:39:29.467469+00:00.
