Solr Boost returns unexpected results
-------------------------------------

                 Key: SOLR-2131
                 URL: https://issues.apache.org/jira/browse/SOLR-2131
             Project: Solr
          Issue Type: Wish
            Reporter: Jayant Patil


Hi,

We are using Solr for our searches. We are facing issues while applying boost 
on particular fields.
E.g. 
We have a field Category, which contains values like Electronics, Computers, 
Home Appliances, Mobile Phones etc. 
We want to boost the category Electronics and Mobile Phones, we are using the 
following query
(category:Electronics^2 OR category:Mobile Phones^1 OR category:[* TO *]^0)

The results are unexpected as Category Mobile Phones gets more boost than 
Electronics even if we are specifying the boost factor 2 for electronics and 1 
for mobile phones respectively.
On debugging we found that DocFreq is manipulating the scores and hence 
affecting the overall boost. The no. of docs for mobile phones is much lower 
than that for electronics and solr is giving higher score to mobile phones for 
this reason.

Please suggest a solution.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to