lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Naber <lucenel...@danielnaber.de>
Subject Re: Multiple terms with the same position in PhraseQuery
Date Fri, 04 Nov 2005 18:45:02 GMT
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@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message