pg_textsearch
github.com · Open source · Active
PostgreSQL extension for BM25 ranked full-text search
- Data & databases
- Open source
- C
- Day-7 check
- Day-30 check
- postgresql
- full text search
- bm25
- search
- c extension
- postgres full text search
- bm25 postgres
- postgres ranking
- hybrid search postgres
- postgresql extension
- Stars
- 4.1k
- Forks
- 134
- Open issues
- 21
- Last commit
- Releases
- 24
- Found
- 8 months ago
GitHub figures as of . They are context, not a ranking.
pg_textsearch is a PostgreSQL extension that adds BM25 relevance-ranked full-text search to the database. It is released under an open source license, which the maker contrasts with the AGPL-licensed alternative. It suits teams that want ranked keyword search alongside vector search in Postgres.
Repository description on GitHub: “PostgreSQL extension for BM25 relevance-ranked full-text search. Postgres OSS licensed.”
What it does
- Adds BM25 relevance-ranked full-text search to PostgreSQL
- ORDER BY content <@> search terms query syntax
- Block-Max WAND for fast top-k queries
- Parallel index builds and partial or partitioned indexes
Good for
- Rank keyword search results by relevance inside Postgres
- Combine BM25 keyword ranking with vector search in one database
Suits: Teams running Postgres who want ranked keyword search.
What you can try
Read the README on GitHub and install from source.
Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.
Found vs. released
Kip first saw pg_textsearch on , when tjgreen posted it to Show HN. The oldest published release on GitHub is v0.0.1, dated . pg_textsearch had been shipping tagged releases for 168 days before it was found. 24 releases have been published in total; the latest is v1.6.0 ().
Day-7 and day-30 updates
Day 7 no new release
- No tagged release was published in the first 7 days after it was found (GitHub release dates).
- Show HN discussion at check time: 203 points, 56 comments. API record
Checked , later than day 7 because tracking began after.
Day 30 1 release shipped
- 1 release in the first 30 days: v1.1.0 (22 Apr 2026)
- Show HN discussion at check time: 203 points, 56 comments. API record
Checked , later than day 30 because tracking began after.
Release timeline every entry links to its source
- Repository created on GitHub: timescale/pg_textsearch
- Also: timescale created its repository on GitHub. GitHub
- Release v0.0.1
- Found: tjgreen posted it to Show HN. Show HN
- Release v1.3.0
- Release v1.3.1
- Release v1.4.0
- Release v1.5.0
- Release v1.5.1
- Release v1.6.0
- Day-7 check recorded by Kip (details)
- Day-30 check recorded by Kip (details)
Showing the first and the 6 latest of 24 releases. All releases on GitHub
Quick answers
- When was pg_textsearch released?
- Its first tagged release on GitHub is dated 14 Oct 2025. Kip found it on Show HN on 31 Mar 2026.
- Is pg_textsearch open source?
- Its source is public on GitHub at timescale/pg_textsearch under the PostgreSQL licence.
- What does pg_textsearch run on?
- Linux, macOS, Windows.
- Is pg_textsearch free?
- It is open source, so the code is free to read and run; check the licence for terms.
- Is pg_textsearch still maintained?
- Yes. It had a commit or release in the last 90 days as of the latest check.
Provenance
| Source | Record | Last checked |
|---|---|---|
| Show HN | listing official API record | |
| GitHub | listing official API record | |
| GitHub repository | timescale/pg_textsearch REST API record | |
| GitHub Releases | release list REST API record |
Stable ID hn-47589856. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.
Share
Similar tools
Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.