Re: [PATCHES] Include Lists for Text Search - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCHES] Include Lists for Text Search
Date
Msg-id 24143.1205161855@sss.pgh.pa.us
Whole thread Raw
In response to Re: Include Lists for Text Search  (Teodor Sigaev <teodor@sigaev.ru>)
Responses Re: [PATCHES] Include Lists for Text Search
List pgsql-hackers
Teodor Sigaev <teodor@sigaev.ru> writes:
>> Hmm, I can see how some middleware would help with folding or not
>> folding the input token, but what about the words coming from the
>> dictionary file (particularly the *output* lexeme)?  It's not apparent
>> to me that it's sensible to try to control that from outside the
>> dictionary.

> Right now I see an significant advantage of such layer: two possible extension
> of dictionary  (filtering and storing original form) are independent from nature
> of dictionary. So, instead of modifying of every dictionary we can add some
> layer, common for all dictionary. With syntax like:

> CREATE/ALTER TEXT SEARCH DICTIONARY foo  (...) WITH ( filtering=on|off,
> store_original=on|off );

> Or per token's type/dictionary pair.

Well, if you think this can/should be done somewhere outside the
dictionary, should I revert the applied patch?

            regards, tom lane

pgsql-hackers by date:

Previous
From: Teodor Sigaev
Date:
Subject: Re: Include Lists for Text Search
Next
From: Teodor Sigaev
Date:
Subject: Re: [PATCHES] Include Lists for Text Search