Re: Indexing synonyms for multiple words

2009-03-03 Thread Michael McCandless
or other problems in queries that depend on order of words). Uwe - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de -Original Message- From: Michael McCandless [mailto:luc...@mikemccandless.com] Sent: Monday, March 02, 2009 4:07 PM T

Re: Indexing synonyms for multiple words

2009-03-02 Thread Sumukh
ler >> H.-H.-Meier-Allee 63, D-28213 Bremen >> http://www.thetaphi.de >> eMail: u...@thetaphi.de >> >>> -Original Message- >>> From: Michael McCandless [mailto:luc...@mikemccandless.com] >>> Sent: Monday, March 02, 2009 4:07 PM >&g

Re: Indexing synonyms for multiple words

2009-03-02 Thread Michael McCandless
4:07 PM To: java-user@lucene.apache.org Subject: Re: Indexing synonyms for multiple words Shouldn't WORD2's position be 1 more than your SYN? Ie, don't you want these positions?: WORD1 2 WORD2 3 SYN 2 The position is the starting position of the token; Lucene doesn

RE: Indexing synonyms for multiple words

2009-03-02 Thread Uwe Schindler
n http://www.thetaphi.de eMail: u...@thetaphi.de > -Original Message- > From: Michael McCandless [mailto:luc...@mikemccandless.com] > Sent: Monday, March 02, 2009 4:07 PM > To: java-user@lucene.apache.org > Subject: Re: Indexing synonyms for multiple words > > &

Re: Indexing synonyms for multiple words

2009-03-02 Thread Michael McCandless
Shouldn't WORD2's position be 1 more than your SYN? Ie, don't you want these positions?: WORD1 2 WORD2 3 SYN 2 The position is the starting position of the token; Lucene doesn't store an ending position Mike Sumukh wrote: Hi, I'm fairly new to Lucene. I'd like to know how we

Re: Indexing synonyms for multiple words

2009-03-02 Thread Erick Erickson
This has been discussed in the user list, so searching there might get you answer quicker. See: http://wiki.apache.org/lucene-java/MailingListArchives I don't remember the results, but... Best Erick On Mon, Mar 2, 2009 at 9:13 AM, Sumukh wrote: > Hi, > > I'm fairly new to Lucene. I'd like to