Re: english parser in text search: support for multiple words in the same position - Mailing list pgsql-hackers

From Sushant Sinha
Subject Re: english parser in text search: support for multiple words in the same position
Date
Msg-id 1280757583.1769.15.camel@dragflick
Whole thread Raw
In response to Re: english parser in text search: support for multiple words in the same position  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: english parser in text search: support for multiple words in the same position
List pgsql-hackers
On Mon, 2010-08-02 at 09:32 -0400, Robert Haas wrote:
> On Mon, Aug 2, 2010 at 9:12 AM, Sushant Sinha <sushant354@gmail.com> wrote:
> > The current text parser already returns url and url_path. That already
> > increases the number of unique tokens. I am only asking for adding of
> > normal english words as well so that if someone types only "wikipedia"
> > he gets a match.
> [...]
> > Postgres english parser already emits urls as tokens. Only thing I am
> > asking is on improving the tokenization and positioning.
> 
> Can you write a patch to implement your idea?
> 

Yes thats what I am planning to do. I just wanted to see if anyone can
help me in estimating whether this is doable in the current parser or I
need to write a new one. If possible, then some idea on how to go about
implementing?

-Sushant.



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: patch for check constraints using multiple inheritance
Next
From: Tom Lane
Date:
Subject: Re: english parser in text search: support for multiple words in the same position