Re: Flexible configuration for full-text search - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Flexible configuration for full-text search
Date
Msg-id 13787.1535062426@sss.pgh.pa.us
Whole thread Raw
In response to Re: Flexible configuration for full-text search  (Alexander Korotkov <a.korotkov@postgrespro.ru>)
Responses Re: Flexible configuration for full-text search
List pgsql-hackers
Alexander Korotkov <a.korotkov@postgrespro.ru> writes:
> On Fri, Apr 6, 2018 at 10:52 AM Aleksandr Parfenov
> <a.parfenov@postgrespro.ru> wrote:
>> The key point of the patch is to process stopwords the same way as
>> others at the level of the PostgreSQL internals and give users an
>> instrument to process them in a special way via configurations.

> If we're going to do it that way by providing separate dictionaries
> for stop words, then I think we should also make it for builtin
> dictionaries and configurations.  So, I think this patch should also
> split builtin dictionaries into stemmers and stop word dictionaries,
> and provide corresponding configuration over them.  It would be also
> needed to perform some benchmarking to show that new way of defining
> configurations is not worse than previous way in the performance.

I'm hesitant about the backwards-compatibility aspects of this.
Yes, we could set up the standard text search configurations to still
work the same as before, but how will you do it without breaking existing
custom configurations that use those dictionaries?

            regards, tom lane


pgsql-hackers by date:

Previous
From: Alexander Korotkov
Date:
Subject: Re: Flexible configuration for full-text search
Next
From: David Rowley
Date:
Subject: Re: Make executor's Range Table an array instead of a List