Try adding &debugQuery=true to your query, the resulting
data will show you exactly how the doc score is calculated.

Warning: reading the explain can be a bit challenging, but
that's the only way to really understand why docs scored as
they did.

Best
Erick

On Mon, May 6, 2013 at 7:33 AM, nishi <nishia...@gmail.com> wrote:
> While giving bq with same weightage as ^1.2 below on two values of
> articleTopic, the result always coming all of the "Office" on the top
> somehow. What other factors would influence at this scenario when there is
> no keyword search also?
>
> http://localhost:8080/solr?rows=900&fq=(articleTopic:"Food" OR
> articleTopic:"Office")&bq=(articleTopic:"Food" OR
> articleTopic:"Office")^1.2&fl=title,description,documentId,score&sort=score
> desc
>
> Also with other fields adding at bq, still the results favoured somehow to
> "Office" one:
> http://localhost:8080/solr?rows=900&fq=(articleTopic:"Food" OR
> articleTopic:"Office")&bq=(articleSrc:"News" OR articleSrc:"Blog")^0.5 OR
> (articleTopic:"Food" OR
> articleTopic:"Office")^1.2&fl=title,description,documentId,score&sort=score
> desc
>
> Please advice what might be the reason/factors which doesn't balance the
> result with both articleTopic and instead always favored the result with the
> "Food" somehow in the score.
>
> Thanks in advance
>
>
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Scores-dilemma-after-providing-boosting-with-bq-as-same-weigtage-for-2-condition-tp4061035.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to