| От | Tom Lane |
|---|---|
| Тема | Re: relaxed full text search? |
| Дата | |
| Msg-id | 17780.1454644248@sss.pgh.pa.us обсуждение |
| Ответ на | relaxed full text search? (Steven Marcus <steven@silvertrak.com.au>) |
| Список | pgsql-novice |
Steven Marcus <steven@silvertrak.com.au> writes:
> My first implementation of full text search is generally working -- but I'd
> like to be able to relax the matching rules.
> For example, searching for "salmon" does not find "salmonella" as
> configured out of the box for postgresql 9.3.10.
Hm, well, I don't think most people would think those were the same
word...
You can get that type of result by searching for "salmon:*", but if your
idea of "match" is "prefix string match" then I wonder whether you want
the FTS machinery at all. There are other ways to get that behavior with
less overhead.
regards, tom lane
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера