Re: tsearch2 for alphabetic character strings & codes - Mailing list pgsql-general

From Andrew J. Kopciuch
Subject Re: tsearch2 for alphabetic character strings & codes
Date
Msg-id 200509240331.57223.akopciuch@bddf.ca
Whole thread Raw
In response to Re: tsearch2 for alphabetic character strings & codes  (Oleg Bartunov <oleg@sai.msu.su>)
List pgsql-general
On Saturday 24 September 2005 00:09, Oleg Bartunov wrote:
> Ron,
>
> probably you need to write custom parser. tsearch2 supports
> different parsers.
>

To expand somewhat on what Oleg mentioned, you can find a howto on writing a
custom parser here :

http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/docs/HOWTO-parser-tsearch2.html

This example might be exactly what you are looking for, I did not look into it
too much myself though, but it appears to just split on whitespace.

There is lots of documentation, examples, help, and other goodies for tsearch2
here:

http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/


HTH,


Andy

pgsql-general by date:

Previous
From: Oleg Bartunov
Date:
Subject: Re: tsearch2 for alphabetic character strings & codes
Next
From: Poul Møller Hansen
Date:
Subject: Slow connection to the database