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 07:55:45 GMT
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