Search Postgresql Archives

Re: How to remove the possibility to search the parts of a compound word with hyphen

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Fco. Mario Barcala" =?ISO-8859-1?Q?Rodr=EDguez?= <lbarcala@xxxxxxxxxxxxxxxx> writes:
> Is it possible to remove the possibility of searching the parts of a
> word which include a hyphen? I know that the default parser identifies
> all possibilities (the compound word and the individual part ones), but
> I would like to make possible to search only for the compound word, but
> not for the parts.

Sure, just set up your text search configuration so that word-parts are
discarded instead of being passed through to the dictionary(s).

			regards, tom lane


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux