Re: a tsearch2 (8.2.4) dictionary that only filters out stopwords

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: a tsearch2 (8.2.4) dictionary that only filters out stopwords
Дата
Msg-id 12183.1194629308@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: a tsearch2 (8.2.4) dictionary that only filters out stopwords  (Jan Urbański <j.urbanski@students.mimuw.edu.pl>)
Ответы Re: a tsearch2 (8.2.4) dictionary that only filters out stopwords  (Jan Urbański <j.urbanski@students.mimuw.edu.pl>)
Список pgsql-patches
=?UTF-8?B?SmFuIFVyYmHFhHNraQ==?= <j.urbanski@students.mimuw.edu.pl> writes:
>> If there is a use-case for it, IMHO it'd be better to add a boolean
>> accept-or-pass-on parameter to the "simple" dictionary than to add a
>> whole new dictionary type.

> Ah, I never thought of it. You may be very right - it does look like an
> easier solution. However, it would require coding some basic parsing
> logic into the dex_init procedure, because right now the 'simple'
> dictionary expects dict_initoption to be a path to the stopwords file.

That doesn't have a whole lot to do with where we are today:
http://developer.postgresql.org/pgdocs/postgres/textsearch-dictionaries.html#TEXTSEARCH-SIMPLE-DICTIONARY
http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/tsearch/dict_simple.c

            regards, tom lane

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

Предыдущее
От: Zdenek Kotala
Дата:
Сообщение: Re: Fix pg_dump dependency on postgres.h
Следующее
От: Jan Urbański
Дата:
Сообщение: Re: a tsearch2 (8.2.4) dictionary that only filters out stopwords