java-user@lucene.apache.org
[Top] [All Lists]

Re: Multiple terms with the same position in PhraseQuery

Subject: Re: Multiple terms with the same position in PhraseQuery
From: Daniel Naber
Date: Fri, 4 Nov 2005 19:45:02 +0100
On Freitag 04 November 2005 11:33, Erik Hatcher wrote:

> > This should have been fixed one year ago with Daniel and myself.
>
> Really? ÂIt works in this OR kind of fashion with tokens in 0-
> incremented positions?

Yes, this test case shows it (multi will be turned into multi and multi2, 
both at the same position by the analyzer used here):

assertEquals("+(multi multi2) +foo", qp.parse("multi foo").toString());

Regards
 Daniel

-- 
http://www.danielnaber.de

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@xxxxxxxxxxxxxxxxx
For additional commands, e-mail: java-user-help@xxxxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>