=?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-DICTIONARYhttp://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/tsearch/dict_simple.c
regards, tom lane