lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <erik.hatc...@gmail.com>
Subject Re: boolean query with score and with out score
Date Sat, 13 Feb 2016 13:31:06 GMT
And the parsed query output for each is...?

> On Feb 13, 2016, at 00:13, sara hajili <hajili.sara@gmail.com> wrote:
> 
> i have exactly this 2 query :
> query = caption:apple  caption:bannana^1.0003  caption:pineapple^1.0023
> and this query
> query = caption:apple  caption:bannana  caption:pineapple
> and get different result.!
> 
> On Fri, Feb 12, 2016 at 11:55 PM, Erik Hatcher <erik.hatcher@gmail.com>
> wrote:
> 
>> What are the parsed queries from debug=true?  Maybe it's an Or/OR thing?
>> 
>>> On Feb 12, 2016, at 23:47, sara hajili <hajili.sara@gmail.com> wrote:
>>> 
>>> hi i have a Boolean query
>>> like this
>>> query = caption:apple Or caption:bannana^1.0003  OR
>>> caption:pineapple^1.0023
>>> and get a result like
>>> doc1
>>> doc2
>>> doc3
>>> 
>>> but this result does not satisfy me at all.
>>> because i had a doc that contain some of this term but i did not get
>> these
>>> docs.
>>> 
>>> but when i change my query to :
>>> query = caption:apple Or caption:bannana  OR caption:pineapple
>>> i get appropriate result i get all docs that have even one of this terms.
>>> 
>>> why Boolean query with score and with out score has a different manner?!
>> 

Mime
View raw message