DictFile=thesaurus_sample,
Dictionary=english_stem
);
-NOTICE: thesaurus word-sample "the" is recognized as stop-word, assign any stop-word (rule 8)
SELECT ts_lexize('thesaurus', 'one');
-NOTICE: thesaurus word-sample "the" is recognized as stop-word, assign any stop-word (rule 8)
ts_lexize
-----------
{1}
(1 row)
SELECT to_tsvector('thesaurus_tst', 'Booking tickets is looking like a booking a tickets');
- to_tsvector
--------------------------------------------------------
- 'card':3,10 'like':6 'look':5 'invit':2,9 'order':1,8
+ to_tsvector
+---------------------------------------------------------------------
+ 'book':8 'card':3 'like':6 'look':5 'invit':2 'order':1 'ticket':10
(1 row)