Full text search
Built-in text search: tsvector/tsquery, parsers, dictionaries and configurations, phrase search and websearch_to_tsquery. Introduced in PostgreSQL 8.3.
Versions
- PostgreSQL 17 · worked-on · improved · moderate
Threads
- BUG #19780: gtsvector_picksplit() reads uninitialized data when called with three entries
- BUG #19778: Empty tsquery cannot roundtrip through binary input
- BUG #19748: tsvectorrecv accepts duplicate lexemes and position 0 that tsvectorin rejects
- BUG #19750: tsquery output omits parentheses, so the text reparses to a different value
- BUG #19704: ispell dictionary accepts trailing junk in numeric COMPOUNDFLAG
- Hunspell AF alias count silently wraps to a smaller value
- BUG #19678: int16 Overflow in tsquery Phrase Distance After Stopword Removal
- BUG #19595: Three memory-safety defects in src/backend/tsearch/spell.c (dictionary loader), PG 18.3
- Residual tsquery cleanups
- Make tsqueryout() use a StringInfo
- Handle MAXSTRLEN consistently
- Any match distance for large documents can result in search errors
- BUG #18772: Segfaul i Greek stemming
- BUG #18636: I am seeing a difference in behavior between 13.12 and 15.6 for full text searching
- BUG #18479: websearch_to_tsquery inconsistent behavior for german when using parentheses
- ts_headline performance note
- Out of the box, full text search feature suggestion for postgresql
- BUG #15172: Postgresql ts_headline with <-> operator does not highlight text properly
- Full Text Search
- BUG #17950: Incorrect memory access in gtsvector_picksplit()
- BUG #17979: (pg_tsparser + ts_headline) duplicate output if dot present
- Improving FTS for Greek
- initdb faild to initialize full text search dictionaries
- BUG #17917: to_tsquery syntax error
- Rethinking the implementation of ts_headline()
- Bug in the documentation - to_tsquery( 'postgres:*' );
- documentation clarification of tsvector length limitation
- Contractions in full text search result in very surprising stemming
- BUG #17739: postgres ts_headline function is not returning matches it should during full text search
- Change error to warning and increase thresholds of tsearch
- FTS parser - missing UUID token type
- Coredump with text search dictionary
- BUG #17569: false negative / positive results when using <-> (followed by) and tsvector limit (16383) hit
- BUG #17562: Strange behavior of to_tsquery() with a - character
- BUG #17556: ts_headline does not correctly find matches when separated by 4,999 words
- BUG #17557: ts_headline will error with "invalid memory alloc request size" for large documents
- BUG #17542: tsquery returns incorrect results with nested, conjuncted followed-by operators
- websearch_to_tsquery fails to transform compound words from a thesaurus dictionary
- BUG #17468: Ranking of search results: ts_rank_cd with normalization variant 4
- "GIN and GiST Index Types" page is about usage in full text search, but looks general purpose
- [feature request] ts_headline should have an option to highlight only full matches of <-> expressions
- BUG #17356: hunspell-hu dictionary processing error
- vectorization is not helping with plural to singular matching
- Empty string in lexeme for tsvector
- Text search prefix matching and stop words
- BUG #17203: missing websearch_to_tsquery
- BUG #17183: missing websearch_to_tsquery
- BUG #17125: Operator precedence bug in websearch_to_tsquery function
- BUG #17043: Full text search - to_tsvector treating a full stop wrong
- inconsistency in full-text search tokenization
- websearch_to_tsquery() returns queries that don't match to_tsvector()
- BUG #16865: Regression: GIN Negated prefix search returns results that contain the search term
- Phrase search vs. multi-lexeme tokens
- Bug Report | Using ts_headline with the <-> operator
- BUG #16744: ts_headline behaves incorrectly with <-> and proximity operators
- BUG #16592: websearch_to_tsquery() returns queries that don't result in expected matches
- [PATCH] fix GIN index search sometimes losing results
- full-text search with GiST indexes seems to be getting slower since 9.1
- [PATCH] Clarified websearch_to_tqsuery syntax in textsearch.sgml
- BUG #16388: Different results when bitmap scan enabled/disabled
- BUG #16337: Finnish Ispell dictionary cannot be created
- BUG #16345: ts_headline does not find phrase matches correctly
- Add absolute value to dict_int
- Full text search bug ('russian' regconfig)
- Example not producing shown output
- Add <caution> for ALTER TEXT SEARCH CONFIGURATION
- BUG #16097: ts_headline fails on text with html style tag
- BUG #16050: Server crash on CREATE TEXT SEARCH DICTIONARY with a wrong AffFile
- new function for tsquery creartion
- Feature: Add Greek language fulltext search
- PostgreSQL Asian language support for full text search using ICU (and also updating pg_trgm)
- BUG #15753: FullText search cannot find bird, rat from birds, rats
- BUG #15751: Unexpected behaviour at plainto_tsquery funciton
- How to query the underlying dictionary i.e. inverse of ts_lexize()
- [PROPOSAL] Shared Ispell dictionaries
- BUG #15689: Stemming of negation/not operator
- Flexible configuration for full-text search
- Range phrase operator in tsquery
- Not found indexed word
- phraseto_tsquery design
- json(b)_to_tsvector with numeric values
- typcategory for regconfig
- Remove 1MB size limit in tsvector
- [PROPOSAL] Text search configuration extension
- a little fix for text search