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.

Regards,
Jayant


********************************************************************************
People Interactive DISCLAIMER and CONFIDENTIALITY CAUTION
********************************************************************************
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. 
Unauthorized reading, dissemination, distribution or copying of this 
communication is prohibited. If you are not the intended recipient, any 
disclosure, copying, distribution or any action taken or omitted to be taken in 
reliance on it, is prohibited and may be unlawful. If you have received this 
communication in error, please notify us immediately and promptly destroy the 
original communication. Thank you for your cooperation.

Please note that any views or opinions presented in this email are solely those 
of the author and may not necessarily represent those of the company. 
Communicating through email is not secure and capable of interception, 
corruption and delays. Anyone communicating with People Interactive (I) Private 
Limited by email accepts the risks involved and their consequences. The 
recipient should check this email and any attachments for the presence of 
viruses. People Interactive (I) Private Limited accepts no liability for any 
damage caused by any virus transmitted by this email.

Reply via email to