Or a no-slop PhraseQuery, where order also matters.
Erik
> On Jan 16, 2017, at 12:27, Markus Jelsma <markus.jelsma@openindex.io> wrote:
>
> Yes, they should be the same unless the field is indexed with shingles, in that case
order matters.
> Markus
>
> -----Original message-----
>> From:Julius Kravjar <julius.kravjar@gmail.com>
>> Sent: Monday 16th January 2017 18:20
>> To: java-user@lucene.apache.org
>> Subject: question
>>
>> May I have one question? One company - we used their sw - talked to us that
>> in Lucene it is normal that the search results for
>>
>> 1.
>> "sas institute"
>> "institute sas"
>> are the same.
>>
>> 2.
>> sas institute
>> institute sas
>> are the same
>>
>> 3.
>> the number of searches of "sas institute" is smaller then sas institute
>> (analogically "institute sas" is smaller then institute sas
>>
>>
>>
>> Should we believe them? Manythanks in advance.
>>
>> Best regards
>>
>> J. Kravjar
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
|