Re: "simple" dict with stop words in tsearch2

Поиск
Список
Период
Сортировка
От Pierre Thibaudeau
Тема Re: "simple" dict with stop words in tsearch2
Дата
Msg-id 74b035bb0701291349g6abbc90u8c6e23ea402a8b26@mail.gmail.com
обсуждение исходный текст
Ответ на Re: "simple" dict with stop words in tsearch2  (Oleg Bartunov <oleg@sai.msu.su>)
Список pgsql-general
Brilliant!  Thank you!

> > In tsearch2, I would like to use the "simple" dictionary along with my
> > own list of stopwords.
> > [...]
>
> sure, just specify dict_initoption. For example,
> test=# update pg_ts_dict set  dict_initoption='contrib/english.stop' where dict_name='simple';
> UPDATE 1
> test=# select lexize('simple', 'the');
>   lexize
> --------
>   {}
> (1 row)

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

Предыдущее
От: "Karen Hill"
Дата:
Сообщение: PostgreSQL 9.0
Следующее
От: Ron Johnson
Дата:
Сообщение: Re: Converting 7.x to 8.x