Thread: Updated patch for tsearch contrib examples

Updated patch for tsearch contrib examples

From
Tom Lane
Date:
I've reviewed and tested Sergey Karpov's proposed contrib modules
dict_int, dict_xsyn, and test_parser.  Attached are the updated
modules.  I have not included the necessary contrib/Makefile and
contrib/README additions, nor any patch for the main documentation.
I expect we'll just strip out sections 12.9 and 12.10 in favor of
referencing the contrib modules.

Last call for objections ...

            regards, tom lane


Attachment

Re: Updated patch for tsearch contrib examples

From
Heikki Linnakangas
Date:
Tom Lane wrote:
> I've reviewed and tested Sergey Karpov's proposed contrib modules
> dict_int, dict_xsyn, and test_parser.

Isn't dict_xsym like the built in synonym dictionary, but with support
for multiple replacement words? Why don't we just replace the built in
synonym dictionary with this?

--
  Heikki Linnakangas
  EnterpriseDB   http://www.enterprisedb.com

Re: Updated patch for tsearch contrib examples

From
Tom Lane
Date:
Heikki Linnakangas <heikki@enterprisedb.com> writes:
> Isn't dict_xsym like the built in synonym dictionary, but with support
> for multiple replacement words? Why don't we just replace the built in
> synonym dictionary with this?

Well, we'd still need a contrib example that uses a config file, so that
there's an example of the right way to do that.

            regards, tom lane