I have attached a patch for phrase search with respect to the cvs head.
Basically it takes a a phrase (text) and a TSVector. It checks if the
relative positions of lexeme in the phrase are same as in their
positions in TSVector.
If the configuration for text search is "simple", then this will produce
exact phrase search. Otherwise the stopwords in a phrase will be ignored
and the words in a phrase will only be matched with the stemmed lexeme.
For my application I am using this as a separate shared object. I do not
know how to expose this function from the core. Can someone explain how
to do this?
I saw this discussion on phrase search and I am not sure what other
functionality is required.
pgsql-hackers by date
|Next:||From: Robert Treat||Date: 2008-06-01 03:22:23|
|Subject: Re: Feedback on blog post about Replication Feature
decision and its impact|
|Previous:||From: Joshua D. Drake||Date: 2008-06-01 02:24:02|
|Subject: Re: Overhauling GUCS|