Skip to content

pg_textsearch

Full-text search with BM25 ranking

pg_textsearch · Full-text search with BM25 ranking

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
2190pg_textsearchpg_textsearch1.6.0FTSPostgreSQLC
AttributeHas BinaryHas LibraryNeed LoadHas DDLRelocatableTrusted
--sLd--NoYesYesYesnono
bm25 conflicts with pg_search/vchord_bm25; optional compaction needs pg_durable>=0.2.8; PG19 experimental.

Packages

TypeRepoVersionPG Major CompatibilityPackage PatternDependencies
EXTMIXED1.6.019 18 17 16 15pg_textsearch-
RPMPGDG1.6.019 18 17 16 15pg_textsearch_$v-
DEBPIGSTY1.6.019 18 17 16 15postgresql-$v-textsearch-
Linux / PGPG19PG18PG17PG16PG15
el8.x86_64N/APGDG 1.6.0PGDG 1.6.0N/AN/A
el8.aarch64N/APGDG 1.6.0PGDG 1.6.0N/AN/A
el9.x86_64PGDG 1.6.0PGDG 1.6.0PGDG 1.6.0N/AN/A
el9.aarch64PGDG 1.6.0PGDG 1.6.0PGDG 1.6.0N/AN/A
el10.x86_64PGDG 1.6.0PGDG 1.6.0PGDG 1.6.0N/AN/A
el10.aarch64PGDG 1.6.0PGDG 1.6.0PGDG 1.6.0N/AN/A
d12.x86_64PIGSTY 1.6.0PIGSTY 1.6.0PIGSTY 1.6.0N/AN/A
d12.aarch64PIGSTY 1.6.0PIGSTY 1.6.0PIGSTY 1.6.0N/AN/A
d13.x86_64PIGSTY 1.6.0PIGSTY 1.6.0PIGSTY 1.6.0N/AN/A
d13.aarch64PIGSTY 1.6.0PIGSTY 1.6.0PIGSTY 1.6.0N/AN/A
u22.x86_64PIGSTY 1.6.0PIGSTY 1.6.0PIGSTY 1.6.0N/AN/A
u22.aarch64PIGSTY 1.6.0PIGSTY 1.6.0PIGSTY 1.6.0N/AN/A
u24.x86_64PIGSTY 1.6.0PIGSTY 1.6.0PIGSTY 1.6.0N/AN/A
u24.aarch64PIGSTY 1.6.0PIGSTY 1.6.0PIGSTY 1.6.0N/AN/A
u26.x86_64PIGSTY 1.6.0PIGSTY 1.6.0PIGSTY 1.6.0N/AN/A
u26.aarch64PIGSTY 1.6.0PIGSTY 1.6.0PIGSTY 1.6.0N/AN/A
PackageVersionOSORGSIZEFile URL
pg_textsearch_191.6.0el9.x86_64pgdg217.7 KiBpg_textsearch_19-1.6.0-1PGDG.rhel9.9.x86_64.rpm
pg_textsearch_191.6.0el9.x86_64pgdg217.7 KiBpg_textsearch_19-1.6.0-1PGDG.rhel9.8.x86_64.rpm
pg_textsearch_191.6.0el9.x86_64pgdg217.7 KiBpg_textsearch_19-1.6.0-1PGDG.rhel9.7.x86_64.rpm
pg_textsearch_191.5.1el9.x86_64pigsty2.0 MiBpg_textsearch_19-1.5.1-1PGSTY.el9.x86_64.rpm
pg_textsearch_191.6.0el9.aarch64pgdg206.7 KiBpg_textsearch_19-1.6.0-1PGDG.rhel9.9.aarch64.rpm
pg_textsearch_191.6.0el9.aarch64pgdg206.7 KiBpg_textsearch_19-1.6.0-1PGDG.rhel9.8.aarch64.rpm
pg_textsearch_191.6.0el9.aarch64pgdg206.7 KiBpg_textsearch_19-1.6.0-1PGDG.rhel9.7.aarch64.rpm
pg_textsearch_191.5.1el9.aarch64pigsty2.0 MiBpg_textsearch_19-1.5.1-1PGSTY.el9.aarch64.rpm
pg_textsearch_191.6.0el10.x86_64pgdg224.3 KiBpg_textsearch_19-1.6.0-1PGDG.rhel10.3.x86_64.rpm
pg_textsearch_191.6.0el10.x86_64pgdg224.4 KiBpg_textsearch_19-1.6.0-1PGDG.rhel10.2.x86_64.rpm
pg_textsearch_191.6.0el10.x86_64pgdg224.4 KiBpg_textsearch_19-1.6.0-1PGDG.rhel10.1.x86_64.rpm
pg_textsearch_191.5.1el10.x86_64pigsty2.0 MiBpg_textsearch_19-1.5.1-1PGSTY.el10.x86_64.rpm
pg_textsearch_191.6.0el10.aarch64pgdg210.7 KiBpg_textsearch_19-1.6.0-1PGDG.rhel10.3.aarch64.rpm
pg_textsearch_191.6.0el10.aarch64pgdg210.9 KiBpg_textsearch_19-1.6.0-1PGDG.rhel10.2.aarch64.rpm
pg_textsearch_191.6.0el10.aarch64pgdg210.9 KiBpg_textsearch_19-1.6.0-1PGDG.rhel10.1.aarch64.rpm
pg_textsearch_191.5.1el10.aarch64pigsty1.9 MiBpg_textsearch_19-1.5.1-1PGSTY.el10.aarch64.rpm
postgresql-19-textsearch1.6.0d12.x86_64pigsty1.9 MiBpostgresql-19-textsearch_1.6.0-1PGSTY~bookworm_amd64.deb
postgresql-19-textsearch1.6.0d12.aarch64pigsty1.9 MiBpostgresql-19-textsearch_1.6.0-1PGSTY~bookworm_arm64.deb
postgresql-19-textsearch1.6.0d13.x86_64pigsty1.9 MiBpostgresql-19-textsearch_1.6.0-1PGSTY~trixie_amd64.deb
postgresql-19-textsearch1.6.0d13.aarch64pigsty1.9 MiBpostgresql-19-textsearch_1.6.0-1PGSTY~trixie_arm64.deb
postgresql-19-textsearch1.6.0u22.x86_64pigsty2.1 MiBpostgresql-19-textsearch_1.6.0-1PGSTY~jammy_amd64.deb
postgresql-19-textsearch1.6.0u22.aarch64pigsty2.1 MiBpostgresql-19-textsearch_1.6.0-1PGSTY~jammy_arm64.deb
postgresql-19-textsearch1.6.0u24.x86_64pigsty2.0 MiBpostgresql-19-textsearch_1.6.0-1PGSTY~noble_amd64.deb
postgresql-19-textsearch1.6.0u24.aarch64pigsty2.0 MiBpostgresql-19-textsearch_1.6.0-1PGSTY~noble_arm64.deb
postgresql-19-textsearch1.6.0u26.x86_64pigsty2.0 MiBpostgresql-19-textsearch_1.6.0-1PGSTY~resolute_amd64.deb
postgresql-19-textsearch1.6.0u26.aarch64pigsty2.0 MiBpostgresql-19-textsearch_1.6.0-1PGSTY~resolute_arm64.deb
PackageVersionOSORGSIZEFile URL
pg_textsearch_181.6.0el8.x86_64pgdg220.9 KiBpg_textsearch_18-1.6.0-1PGDG.rhel8.10.x86_64.rpm
pg_textsearch_181.5.1el8.x86_64pgdg210.5 KiBpg_textsearch_18-1.5.1-2PGDG.rhel8.10.x86_64.rpm
pg_textsearch_181.5.1el8.x86_64pgdg210.6 KiBpg_textsearch_18-1.5.1-1PGDG.rhel8.10.x86_64.rpm
pg_textsearch_181.4.0el8.x86_64pgdg129.5 KiBpg_textsearch_18-1.4.0-1PGDG.rhel8.10.x86_64.rpm
pg_textsearch_181.6.0el8.aarch64pgdg204.7 KiBpg_textsearch_18-1.6.0-1PGDG.rhel8.10.aarch64.rpm
pg_textsearch_181.5.1el8.aarch64pgdg194.9 KiBpg_textsearch_18-1.5.1-2PGDG.rhel8.10.aarch64.rpm
pg_textsearch_181.5.1el8.aarch64pgdg194.6 KiBpg_textsearch_18-1.5.1-1PGDG.rhel8.10.aarch64.rpm
pg_textsearch_181.4.0el8.aarch64pgdg122.5 KiBpg_textsearch_18-1.4.0-1PGDG.rhel8.10.aarch64.rpm
pg_textsearch_181.6.0el9.x86_64pgdg216.9 KiBpg_textsearch_18-1.6.0-1PGDG.rhel9.9.x86_64.rpm
pg_textsearch_181.6.0el9.x86_64pgdg216.9 KiBpg_textsearch_18-1.6.0-1PGDG.rhel9.8.x86_64.rpm
pg_textsearch_181.6.0el9.x86_64pgdg216.9 KiBpg_textsearch_18-1.6.0-1PGDG.rhel9.7.x86_64.rpm
pg_textsearch_181.5.1el9.x86_64pgdg206.7 KiBpg_textsearch_18-1.5.1-2PGDG.rhel9.9.x86_64.rpm
pg_textsearch_181.5.1el9.x86_64pgdg206.7 KiBpg_textsearch_18-1.5.1-2PGDG.rhel9.8.x86_64.rpm
pg_textsearch_181.5.1el9.x86_64pgdg206.8 KiBpg_textsearch_18-1.5.1-2PGDG.rhel9.7.x86_64.rpm
pg_textsearch_181.5.1el9.x86_64pgdg206.4 KiBpg_textsearch_18-1.5.1-1PGDG.rhel9.8.x86_64.rpm
pg_textsearch_181.5.1el9.x86_64pgdg206.4 KiBpg_textsearch_18-1.5.1-1PGDG.rhel9.7.x86_64.rpm
pg_textsearch_181.4.0el9.x86_64pgdg125.8 KiBpg_textsearch_18-1.4.0-1PGDG.rhel9.8.x86_64.rpm
pg_textsearch_181.4.0el9.x86_64pgdg125.7 KiBpg_textsearch_18-1.4.0-1PGDG.rhel9.7.x86_64.rpm
pg_textsearch_181.6.0el9.aarch64pgdg206.6 KiBpg_textsearch_18-1.6.0-1PGDG.rhel9.9.aarch64.rpm
pg_textsearch_181.6.0el9.aarch64pgdg206.6 KiBpg_textsearch_18-1.6.0-1PGDG.rhel9.8.aarch64.rpm
pg_textsearch_181.6.0el9.aarch64pgdg206.6 KiBpg_textsearch_18-1.6.0-1PGDG.rhel9.7.aarch64.rpm
pg_textsearch_181.5.1el9.aarch64pgdg196.4 KiBpg_textsearch_18-1.5.1-2PGDG.rhel9.9.aarch64.rpm
pg_textsearch_181.5.1el9.aarch64pgdg196.4 KiBpg_textsearch_18-1.5.1-2PGDG.rhel9.8.aarch64.rpm
pg_textsearch_181.5.1el9.aarch64pgdg196.5 KiBpg_textsearch_18-1.5.1-2PGDG.rhel9.7.aarch64.rpm
pg_textsearch_181.5.1el9.aarch64pgdg196.2 KiBpg_textsearch_18-1.5.1-1PGDG.rhel9.8.aarch64.rpm
pg_textsearch_181.5.1el9.aarch64pgdg196.2 KiBpg_textsearch_18-1.5.1-1PGDG.rhel9.7.aarch64.rpm
pg_textsearch_181.4.0el9.aarch64pgdg123.3 KiBpg_textsearch_18-1.4.0-1PGDG.rhel9.8.aarch64.rpm
pg_textsearch_181.4.0el9.aarch64pgdg123.3 KiBpg_textsearch_18-1.4.0-1PGDG.rhel9.7.aarch64.rpm
pg_textsearch_181.6.0el10.x86_64pgdg224.1 KiBpg_textsearch_18-1.6.0-1PGDG.rhel10.3.x86_64.rpm
pg_textsearch_181.6.0el10.x86_64pgdg224.3 KiBpg_textsearch_18-1.6.0-1PGDG.rhel10.2.x86_64.rpm
pg_textsearch_181.6.0el10.x86_64pgdg224.3 KiBpg_textsearch_18-1.6.0-1PGDG.rhel10.1.x86_64.rpm
pg_textsearch_181.5.1el10.x86_64pgdg213.0 KiBpg_textsearch_18-1.5.1-2PGDG.rhel10.3.x86_64.rpm
pg_textsearch_181.5.1el10.x86_64pgdg213.2 KiBpg_textsearch_18-1.5.1-2PGDG.rhel10.2.x86_64.rpm
pg_textsearch_181.5.1el10.x86_64pgdg213.2 KiBpg_textsearch_18-1.5.1-2PGDG.rhel10.1.x86_64.rpm
pg_textsearch_181.5.1el10.x86_64pgdg212.8 KiBpg_textsearch_18-1.5.1-1PGDG.rhel10.2.x86_64.rpm
pg_textsearch_181.5.1el10.x86_64pgdg212.8 KiBpg_textsearch_18-1.5.1-1PGDG.rhel10.1.x86_64.rpm
pg_textsearch_181.4.0el10.x86_64pgdg129.5 KiBpg_textsearch_18-1.4.0-1PGDG.rhel10.2.x86_64.rpm
pg_textsearch_181.4.0el10.x86_64pgdg129.5 KiBpg_textsearch_18-1.4.0-1PGDG.rhel10.1.x86_64.rpm
pg_textsearch_181.6.0el10.aarch64pgdg210.6 KiBpg_textsearch_18-1.6.0-1PGDG.rhel10.3.aarch64.rpm
pg_textsearch_181.6.0el10.aarch64pgdg210.8 KiBpg_textsearch_18-1.6.0-1PGDG.rhel10.2.aarch64.rpm
pg_textsearch_181.6.0el10.aarch64pgdg210.7 KiBpg_textsearch_18-1.6.0-1PGDG.rhel10.1.aarch64.rpm
pg_textsearch_181.5.1el10.aarch64pgdg200.2 KiBpg_textsearch_18-1.5.1-2PGDG.rhel10.3.aarch64.rpm
pg_textsearch_181.5.1el10.aarch64pgdg200.3 KiBpg_textsearch_18-1.5.1-2PGDG.rhel10.2.aarch64.rpm
pg_textsearch_181.5.1el10.aarch64pgdg200.3 KiBpg_textsearch_18-1.5.1-2PGDG.rhel10.1.aarch64.rpm
pg_textsearch_181.5.1el10.aarch64pgdg200.0 KiBpg_textsearch_18-1.5.1-1PGDG.rhel10.2.aarch64.rpm
pg_textsearch_181.5.1el10.aarch64pgdg199.9 KiBpg_textsearch_18-1.5.1-1PGDG.rhel10.1.aarch64.rpm
pg_textsearch_181.4.0el10.aarch64pgdg125.7 KiBpg_textsearch_18-1.4.0-1PGDG.rhel10.2.aarch64.rpm
pg_textsearch_181.4.0el10.aarch64pgdg125.7 KiBpg_textsearch_18-1.4.0-1PGDG.rhel10.1.aarch64.rpm
postgresql-18-textsearch1.6.0d12.x86_64pigsty1.9 MiBpostgresql-18-textsearch_1.6.0-1PGSTY~bookworm_amd64.deb
postgresql-18-textsearch1.6.0d12.aarch64pigsty1.9 MiBpostgresql-18-textsearch_1.6.0-1PGSTY~bookworm_arm64.deb
postgresql-18-textsearch1.6.0d13.x86_64pigsty1.9 MiBpostgresql-18-textsearch_1.6.0-1PGSTY~trixie_amd64.deb
postgresql-18-textsearch1.6.0d13.aarch64pigsty1.9 MiBpostgresql-18-textsearch_1.6.0-1PGSTY~trixie_arm64.deb
postgresql-18-textsearch1.6.0u22.x86_64pigsty2.1 MiBpostgresql-18-textsearch_1.6.0-1PGSTY~jammy_amd64.deb
postgresql-18-textsearch1.6.0u22.aarch64pigsty2.1 MiBpostgresql-18-textsearch_1.6.0-1PGSTY~jammy_arm64.deb
postgresql-18-textsearch1.6.0u24.x86_64pigsty2.1 MiBpostgresql-18-textsearch_1.6.0-1PGSTY~noble_amd64.deb
postgresql-18-textsearch1.6.0u24.aarch64pigsty2.0 MiBpostgresql-18-textsearch_1.6.0-1PGSTY~noble_arm64.deb
postgresql-18-textsearch1.6.0u26.x86_64pigsty2.1 MiBpostgresql-18-textsearch_1.6.0-1PGSTY~resolute_amd64.deb
postgresql-18-textsearch1.6.0u26.aarch64pigsty2.1 MiBpostgresql-18-textsearch_1.6.0-1PGSTY~resolute_arm64.deb
PackageVersionOSORGSIZEFile URL
pg_textsearch_171.6.0el8.x86_64pgdg221.0 KiBpg_textsearch_17-1.6.0-1PGDG.rhel8.10.x86_64.rpm
pg_textsearch_171.5.1el8.x86_64pgdg210.5 KiBpg_textsearch_17-1.5.1-2PGDG.rhel8.10.x86_64.rpm
pg_textsearch_171.5.1el8.x86_64pgdg210.3 KiBpg_textsearch_17-1.5.1-1PGDG.rhel8.10.x86_64.rpm
pg_textsearch_171.4.0el8.x86_64pgdg129.3 KiBpg_textsearch_17-1.4.0-1PGDG.rhel8.10.x86_64.rpm
pg_textsearch_171.6.0el8.aarch64pgdg204.6 KiBpg_textsearch_17-1.6.0-1PGDG.rhel8.10.aarch64.rpm
pg_textsearch_171.5.1el8.aarch64pgdg194.8 KiBpg_textsearch_17-1.5.1-2PGDG.rhel8.10.aarch64.rpm
pg_textsearch_171.5.1el8.aarch64pgdg194.4 KiBpg_textsearch_17-1.5.1-1PGDG.rhel8.10.aarch64.rpm
pg_textsearch_171.4.0el8.aarch64pgdg122.5 KiBpg_textsearch_17-1.4.0-1PGDG.rhel8.10.aarch64.rpm
pg_textsearch_171.6.0el9.x86_64pgdg216.8 KiBpg_textsearch_17-1.6.0-1PGDG.rhel9.9.x86_64.rpm
pg_textsearch_171.6.0el9.x86_64pgdg216.8 KiBpg_textsearch_17-1.6.0-1PGDG.rhel9.8.x86_64.rpm
pg_textsearch_171.6.0el9.x86_64pgdg216.8 KiBpg_textsearch_17-1.6.0-1PGDG.rhel9.7.x86_64.rpm
pg_textsearch_171.5.1el9.x86_64pgdg206.6 KiBpg_textsearch_17-1.5.1-2PGDG.rhel9.9.x86_64.rpm
pg_textsearch_171.5.1el9.x86_64pgdg206.6 KiBpg_textsearch_17-1.5.1-2PGDG.rhel9.8.x86_64.rpm
pg_textsearch_171.5.1el9.x86_64pgdg206.6 KiBpg_textsearch_17-1.5.1-2PGDG.rhel9.7.x86_64.rpm
pg_textsearch_171.5.1el9.x86_64pgdg206.3 KiBpg_textsearch_17-1.5.1-1PGDG.rhel9.8.x86_64.rpm
pg_textsearch_171.5.1el9.x86_64pgdg206.3 KiBpg_textsearch_17-1.5.1-1PGDG.rhel9.7.x86_64.rpm
pg_textsearch_171.4.0el9.x86_64pgdg125.7 KiBpg_textsearch_17-1.4.0-1PGDG.rhel9.8.x86_64.rpm
pg_textsearch_171.4.0el9.x86_64pgdg125.7 KiBpg_textsearch_17-1.4.0-1PGDG.rhel9.7.x86_64.rpm
pg_textsearch_171.6.0el9.aarch64pgdg206.4 KiBpg_textsearch_17-1.6.0-1PGDG.rhel9.9.aarch64.rpm
pg_textsearch_171.6.0el9.aarch64pgdg206.4 KiBpg_textsearch_17-1.6.0-1PGDG.rhel9.8.aarch64.rpm
pg_textsearch_171.6.0el9.aarch64pgdg206.4 KiBpg_textsearch_17-1.6.0-1PGDG.rhel9.7.aarch64.rpm
pg_textsearch_171.5.1el9.aarch64pgdg196.5 KiBpg_textsearch_17-1.5.1-2PGDG.rhel9.9.aarch64.rpm
pg_textsearch_171.5.1el9.aarch64pgdg196.5 KiBpg_textsearch_17-1.5.1-2PGDG.rhel9.8.aarch64.rpm
pg_textsearch_171.5.1el9.aarch64pgdg196.5 KiBpg_textsearch_17-1.5.1-2PGDG.rhel9.7.aarch64.rpm
pg_textsearch_171.5.1el9.aarch64pgdg196.3 KiBpg_textsearch_17-1.5.1-1PGDG.rhel9.8.aarch64.rpm
pg_textsearch_171.5.1el9.aarch64pgdg196.2 KiBpg_textsearch_17-1.5.1-1PGDG.rhel9.7.aarch64.rpm
pg_textsearch_171.4.0el9.aarch64pgdg123.1 KiBpg_textsearch_17-1.4.0-1PGDG.rhel9.8.aarch64.rpm
pg_textsearch_171.4.0el9.aarch64pgdg123.1 KiBpg_textsearch_17-1.4.0-1PGDG.rhel9.7.aarch64.rpm
pg_textsearch_171.6.0el10.x86_64pgdg223.8 KiBpg_textsearch_17-1.6.0-1PGDG.rhel10.3.x86_64.rpm
pg_textsearch_171.6.0el10.x86_64pgdg224.2 KiBpg_textsearch_17-1.6.0-1PGDG.rhel10.2.x86_64.rpm
pg_textsearch_171.6.0el10.x86_64pgdg224.2 KiBpg_textsearch_17-1.6.0-1PGDG.rhel10.1.x86_64.rpm
pg_textsearch_171.5.1el10.x86_64pgdg213.1 KiBpg_textsearch_17-1.5.1-2PGDG.rhel10.3.x86_64.rpm
pg_textsearch_171.5.1el10.x86_64pgdg213.0 KiBpg_textsearch_17-1.5.1-2PGDG.rhel10.2.x86_64.rpm
pg_textsearch_171.5.1el10.x86_64pgdg213.0 KiBpg_textsearch_17-1.5.1-2PGDG.rhel10.1.x86_64.rpm
pg_textsearch_171.5.1el10.x86_64pgdg212.7 KiBpg_textsearch_17-1.5.1-1PGDG.rhel10.2.x86_64.rpm
pg_textsearch_171.5.1el10.x86_64pgdg212.6 KiBpg_textsearch_17-1.5.1-1PGDG.rhel10.1.x86_64.rpm
pg_textsearch_171.4.0el10.x86_64pgdg129.4 KiBpg_textsearch_17-1.4.0-1PGDG.rhel10.2.x86_64.rpm
pg_textsearch_171.4.0el10.x86_64pgdg129.4 KiBpg_textsearch_17-1.4.0-1PGDG.rhel10.1.x86_64.rpm
pg_textsearch_171.6.0el10.aarch64pgdg210.5 KiBpg_textsearch_17-1.6.0-1PGDG.rhel10.3.aarch64.rpm
pg_textsearch_171.6.0el10.aarch64pgdg210.6 KiBpg_textsearch_17-1.6.0-1PGDG.rhel10.2.aarch64.rpm
pg_textsearch_171.6.0el10.aarch64pgdg210.6 KiBpg_textsearch_17-1.6.0-1PGDG.rhel10.1.aarch64.rpm
pg_textsearch_171.5.1el10.aarch64pgdg200.1 KiBpg_textsearch_17-1.5.1-2PGDG.rhel10.3.aarch64.rpm
pg_textsearch_171.5.1el10.aarch64pgdg200.3 KiBpg_textsearch_17-1.5.1-2PGDG.rhel10.2.aarch64.rpm
pg_textsearch_171.5.1el10.aarch64pgdg200.3 KiBpg_textsearch_17-1.5.1-2PGDG.rhel10.1.aarch64.rpm
pg_textsearch_171.5.1el10.aarch64pgdg199.9 KiBpg_textsearch_17-1.5.1-1PGDG.rhel10.2.aarch64.rpm
pg_textsearch_171.5.1el10.aarch64pgdg200.0 KiBpg_textsearch_17-1.5.1-1PGDG.rhel10.1.aarch64.rpm
pg_textsearch_171.4.0el10.aarch64pgdg125.7 KiBpg_textsearch_17-1.4.0-1PGDG.rhel10.2.aarch64.rpm
pg_textsearch_171.4.0el10.aarch64pgdg125.7 KiBpg_textsearch_17-1.4.0-1PGDG.rhel10.1.aarch64.rpm
postgresql-17-textsearch1.6.0d12.x86_64pigsty1.9 MiBpostgresql-17-textsearch_1.6.0-1PGSTY~bookworm_amd64.deb
postgresql-17-textsearch1.6.0d12.aarch64pigsty1.9 MiBpostgresql-17-textsearch_1.6.0-1PGSTY~bookworm_arm64.deb
postgresql-17-textsearch1.6.0d13.x86_64pigsty1.9 MiBpostgresql-17-textsearch_1.6.0-1PGSTY~trixie_amd64.deb
postgresql-17-textsearch1.6.0d13.aarch64pigsty1.9 MiBpostgresql-17-textsearch_1.6.0-1PGSTY~trixie_arm64.deb
postgresql-17-textsearch1.6.0u22.x86_64pigsty2.2 MiBpostgresql-17-textsearch_1.6.0-1PGSTY~jammy_amd64.deb
postgresql-17-textsearch1.6.0u22.aarch64pigsty2.2 MiBpostgresql-17-textsearch_1.6.0-1PGSTY~jammy_arm64.deb
postgresql-17-textsearch1.6.0u24.x86_64pigsty2.0 MiBpostgresql-17-textsearch_1.6.0-1PGSTY~noble_amd64.deb
postgresql-17-textsearch1.6.0u24.aarch64pigsty2.0 MiBpostgresql-17-textsearch_1.6.0-1PGSTY~noble_arm64.deb
postgresql-17-textsearch1.6.0u26.x86_64pigsty2.1 MiBpostgresql-17-textsearch_1.6.0-1PGSTY~resolute_amd64.deb
postgresql-17-textsearch1.6.0u26.aarch64pigsty2.0 MiBpostgresql-17-textsearch_1.6.0-1PGSTY~resolute_arm64.deb

Source

pig build pkg pg_textsearch;		# build rpm/deb

Install

Make sure PGDG and PIGSTY repo available:

pig repo add pgsql -u   # add both repo and update cache

Install this extension with pig:

pig install pg_textsearch;		# install by package name

pig install pg_textsearch -v 19;   # install for PG 19
pig install pg_textsearch -v 18;   # install for PG 18
pig install pg_textsearch -v 17;   # install for PG 17

Config this extension to shared_preload_libraries:

shared_preload_libraries = 'pg_textsearch';

Create this extension with:

CREATE EXTENSION pg_textsearch;

Usage

Sources:

pg_textsearch 1.6.1 provides BM25-ranked text search on PostgreSQL 17–19 through the bm25 access method and <@> operator.

Enable and Query

An administrator must add the library to the existing preload list and restart PostgreSQL. Installation requires elevated privileges.

shared_preload_libraries = 'pg_textsearch'
CREATE EXTENSION pg_textsearch;
CREATE TABLE documents (id bigserial PRIMARY KEY, content text);
INSERT INTO documents(content) VALUES
    ('PostgreSQL is a database system'),
    ('BM25 ranks full text search results');
CREATE INDEX docs_idx ON documents USING bm25(content)
WITH (text_config = 'english');

SELECT id, content <@> 'database system' AS score
FROM documents
ORDER BY content <@> 'database system'
LIMIT 5;

Scores are negative BM25 values: lower values rank first. Use an explicit index for partial indexes, ambiguous expressions, prepared or dynamic query text, and PL/pgSQL. Standalone scoring needs SELECT permission on the indexed table or columns.

SELECT id FROM documents
ORDER BY content <@> to_bm25query('database system', 'docs_idx')
LIMIT 5;

Filtering and Index Options

text_config is required; k1 defaults to 1.2 and b to 0.75. Immutable text expressions, text-like arrays, partial indexes and partitioned tables are supported. Repeat indexed expressions in queries and supply a matching predicate for partial indexes. A parser such as zhparser is an optional dependency for Chinese text.

SET default_text_search_config = 'english';
SELECT id FROM documents
WHERE content @@ to_tsquery('english', 'database & !mysql')
ORDER BY content <@> 'database'
LIMIT 5;

Boolean queries support AND/OR/NOT, phrases, prefixes and weights. Phrase and weight checks can require table-row rechecks. The text-search configuration must match the index. If it changes while using a cached Boolean plan, deallocate and prepare the statement again.

In 1.6.0, eligible constant Boolean predicates run inside ranked scans when every match is guaranteed to contain a ranking term. Other forms, including generic plans with unknown terms, retain PostgreSQL filtering and sorting. Post-filtered ranked scans expand their scoring batch until enough rows qualify or matches run out. Inspect EXPLAIN; a small LIMIT does not guarantee little work.

Maintenance and Boundaries

The durable memtable lives in WAL-logged index pages. Shared-memory caching is optional; pg_textsearch.memory_limit defaults to 2GB and is an approximate admission budget, not a hard bound. pg_textsearch.default_limit defaults to 1000 and sets the initial batch when no SQL limit is available. Spills and serial VACUUM can perform synchronous compaction.

SELECT bm25_spill_index('docs_idx');
SELECT bm25_force_merge('docs_idx');

Mutating maintenance functions require index ownership and do not operate on partitioned parent indexes or during recovery. Published physical merges are not undone by ROLLBACK. Optional managed background compaction has additional upstream setup requirements; inline/manual modes do not require it. Querying hot standbys need hot_standby_feedback = on to delay physical page reuse for active snapshots.

The bm25 access-method name conflicts with other providers such as pg_search and vchord_bm25. RLS hides rows but BM25 corpus statistics still reflect all indexed rows. Superusers can set pg_textsearch.allow_rls to off to reject new or rebuilt combinations with RLS; this does not disable existing indexes.

Upgrade to 1.6.1

Install matching libraries and SQL files, restart PostgreSQL, then update every database:

ALTER EXTENSION pg_textsearch UPDATE TO '1.6.1';

Version 1.6.1 fixes score reuse with ordered scans, correlated filters and RLS, standalone scoring during concurrent VACUUM, and parallel builds of partial expression indexes. Upgrading from 1.6.0 requires no REINDEX. The following repair guidance concerns older affected indexes. Earlier parallel builds involving HOT chains could omit rows, and interrupted VACUUM could leave incorrect counts or bitmaps. Rebuild affected indexes; upgrading binaries and SQL cannot repair their contents.

REINDEX INDEX docs_idx;

Standard REINDEX blocks writes. Check all intervening upgrade notes for older indexes: pre-1.3 unspilled data needs handling under the old binary, pre-1.5 indexes can omit empty or stopword-only documents from negative Boolean queries, and version-9 headers cannot be read by pre-1.5 servers. Upgrade replicas before new binaries modify index headers; a binary downgrade does not reverse that change.

Table reader