lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jose Carlos Canova <jose.carlos.can...@gmail.com>
Subject Re: is there a historical reason why default conjunction operator is "OR"?
Date Wed, 16 Apr 2014 16:53:28 GMT
In fact you have both, the documents at see looking at first time is first
the results with all words (AND) then the ORed results, which makes perfect
sense.  Google sometimes marks on the result which word was not found with
a "strike through".

But it is not so powerful as logical operators on query clauses if you want
to filter large data sets. It will always return a value even if you don't
want it.


On Wed, Apr 16, 2014 at 1:38 PM, Herb Roitblat <herb.roitblat@orcatec.com>wrote:

> Actually, Google uses OR.  The scoring algorithm favors documents that
> match on more of the ORed terms.
>
>
> On 4/16/2014 8:17 AM, Min-Uk Kim wrote:
>
>> Hello everyone,
>>
>> I  recently wondered,
>> why lucene's default conjunction operator is "OR".
>> Is there a historical reason for that?
>>
>> By the way,
>> Google and other search engines seem to use "AND".
>>
>> Please show me the light.
>> M
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message