You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jayant Patil (JIRA)" <ji...@apache.org> on 2010/09/23 14:53:36 UTC

[jira] Created: (SOLR-2131) Solr Boost returns unexpected results

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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] Closed: (SOLR-2131) Solr Boost returns unexpected results

Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-2131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yonik Seeley closed SOLR-2131.
------------------------------

    Resolution: Not A Problem

Closing - this was brought up on the user list and does not represent a bug.

> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org