Re: Indexing unknown words with Tsearch2

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Indexing unknown words with Tsearch2
Дата
Msg-id 4374.1238594144@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Indexing unknown words with Tsearch2  (Greg Maitrallain <greg.maitrallain@evodia.fr>)
Список pgsql-general
Greg Maitrallain <greg.maitrallain@evodia.fr> writes:
> The problem is the writings contains many names of personnalities. For
> example : Churchill (the database covers WWII). But when I try to search
> for these names, nothing is found.

> I tried many things, like this introduction :
> http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/docs/tsearch-V2-intro.html
> And I think the problem's root is that no lexem is found (I could even
> say an empty lexem is found).

I think you've misconfigured your dictionary list.  You normally want to
use an ispell dictionary together with some other one, like a snowball
dictionary.  Using it by itself means exactly that only words known to
the dictionary will be indexed.

            regards, tom lane

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

Предыдущее
От: Greg Maitrallain
Дата:
Сообщение: Indexing unknown words with Tsearch2
Следующее
От: Sam Mason
Дата:
Сообщение: Re: string_to_array with empty input