From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Jan Urbański <j(dot)urbanski(at)students(dot)mimuw(dot)edu(dot)pl> |
Cc: | pgsql-patches(at)postgresql(dot)org |
Subject: | Re: a tsearch2 (8.2.4) dictionary that only filters out stopwords |
Date: | 2007-11-09 17:28:28 |
Message-ID: | 12183.1194629308@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers Postg메이저 토토 사이트SQL |
=?utf-8?B?SmFuIFVyYmHFhHNraQ==?= <j(dot)urbanski(at)students(dot)mimuw(dot)edu(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Magnus Hagander | 2007-11-09 17:33:48 | Re: krb_match_realm patch |
Previous Message | Alvaro Herrera | 2007-11-09 17:28:24 | Re: New tzdata available |
From | Date | Subject | |
---|---|---|---|
Next Message | Jan Urbański | 2007-11-09 17:35:32 | Re: a tsearch2 (8.2.4) dictionary that only filters out stopwords |
Previous Message | Zdenek Kotala | 2007-11-09 17:02:27 | Re: Fix pg_dump dependency on postgres.h |