lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: Multiple terms with the same position in PhraseQuery
Date Fri, 04 Nov 2005 20:21:20 GMT

On 4 Nov 2005, at 13:45, Daniel Naber wrote:

> 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 
> ());

Thanks.  Sorry, I meant to send an immediate follow-up to my own  
silly question.  I knew better as soon as I hit send.

     Erik


---------------------------------------------------------------------
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