Re: What is the different between pg_trgm search and FULL Text search?
В списке pgsql-general по дате отправления:
| От | Tomas Vondra |
|---|---|
| Тема | Re: What is the different between pg_trgm search and FULL Text search? |
| Дата | |
| Msg-id | 41fdc957911987fc459754c33bef1908.squirrel@sq.gransy.com обсуждение исходный текст |
| Ответ на | What is the different between pg_trgm search and FULL Text search? (AI Rumman <rummandba@gmail.com>) |
| Список | pgsql-general |
On 23 Duben 2012, 13:31, AI Rumman wrote: > What is the different between pg_trgm search and FULL Text search? > Anyone has idea on these, please let me know. pg_trgm performs "trigram matching" i.e. determines similarity of strings based on trigrams (three-character strings). It has no notion of a language, does not attempt to split the text into tokens / transform the words to basic forms etc. It merely splits the string into three-character pieces and stores this info. tsearch2 (a fulltext search) works with dictionaries for each language, turns the words into basic forms, allows you to define synonyms and much more. It has much more insight into the language structure etc. It allows you to build complex queries (AND, OR, NOT, ...) etc. Tomas
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера