Re: Text search lexer's handling of hyphens and negatives

Поиск
Список
Период
Сортировка
От Alan Hodgson
Тема Re: Text search lexer's handling of hyphens and negatives
Дата
Msg-id 62ec72bf6b16aa980430e87ae54d6b8091ce8b73.camel@lists.simkin.ca
обсуждение исходный текст
Ответ на Text search lexer's handling of hyphens and negatives  (raylu <lurayl@gmail.com>)
Ответы Re: Text search lexer's handling of hyphens and negatives
Список pgsql-general
On Tue, 2019-10-15 at 14:51 -0700, raylu wrote:
Are we missing something here? Is there either a way to
1. generate tsvectors without this special (negative) integer behavior or
2. generate tsqueries in a more intelligent way?


My company has found the pg_trm extension to be more useful for partial text searches than the full text functions. I don't know specifically how it might help with your hyphens but it would be worth testing. The docs actually suggest using them in conjunction in some cases.

В списке pgsql-general по дате отправления:

Предыдущее
От: raylu
Дата:
Сообщение: Text search lexer's handling of hyphens and negatives
Следующее
От: raylu
Дата:
Сообщение: Re: Text search lexer's handling of hyphens and negatives