From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Jan Urbański <j(dot)urbanski(at)students(dot)mimuw(dot)edu(dot)pl>, pgsql-patches(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org, Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>, Teodor Sigaev <teodor(at)sigaev(dot)ru> |
Subject: | Re: a tsearch2 (8.2.4) dictionary that only filters out stopwords |
Date: | 2007-11-14 16:42:19 |
Message-ID: | 200711141642.lAEGgJs26789@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers Postg배트맨 토토SQL |
Tom Lane wrote:
> This patch:
> http://archives.postgresql.org/pgsql-patches/2007-11/msg00137.php
> seems simple and useful enough that I think we ought to slip it into
> 8.3, even though we are far past feature freeze.
>
> As the "simple" dictionary type stands in CVS HEAD, it is only useful as
> the last dictionary in a stack, since it never passes anything on as
> unrecognized. With the proposed AcceptAll = false option, it could be
> used to filter out some stopwords before feeding tokens to another
> dictionary. While most dictionary types have their own stopword support,
> some of them match stopwords after their own normalization processing,
> and so there's no way to filter on pre-normalized words. That seems
> like a good improvement, even without the specific need-example that
> Jan provided at the start of the thread.
>
> Normally we'd never consider adding a new feature so late in the
> development cycle, but this seems small enough and useful enough
> to make an exception. Comments?
Agreed. The logic is that textsearch is getting a major overhaul in 8.3
and it is reasonable to keep adjusting things during beta.
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://postgres.enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
From | Date | Subject | |
---|---|---|---|
Next Message | Zdenek Kotala | 2007-11-14 16:47:38 | Re: Fix pg_dump dependency on postgres.h |
Previous Message | Tom Lane | 2007-11-14 16:29:07 | Re: a tsearch2 (8.2.4) dictionary that only filters out stopwords |
From | Date | Subject | |
---|---|---|---|
Next Message | Zdenek Kotala | 2007-11-14 16:47:38 | Re: Fix pg_dump dependency on postgres.h |
Previous Message | Tom Lane | 2007-11-14 16:29:07 | Re: a tsearch2 (8.2.4) dictionary that only filters out stopwords |