On 4/10/2014 12:49 PM, EXTERNAL Taminidi Ravi (ETI,
Automotive-Service-Solutions) wrote:
Hi I am looking boosting to help if I can achieve the Rank equal to MS SQL
Server.
I have a query something like
&fq=(SKU:123-87458) OR Name:" 123-87458"
I need to get the Exact Match as first in the results, In this case SKU. But
also I can change to display Name in the List which is not exact match but
match , the value can be find some where in the Name?
In Simple I can Rank SKU as 1 and Name as 2 for some customer and some customer
Rank Name as 1 and SKU as 2 in the results.
Is this Possible , I tried Boosting but that it seems it is for Text, correct
me if I am wrong on understanding and any example will be really appreciated. I
am getting confused after going thru different sites.
Your query is being sent with the fq parameter. Filter queries do not
affect scoring at all. They are purely for filtering. You would need
to move this to the q parameter (query) in order for what's there to
affect relevancy ranking.
You will very likely want to look over this:
https://wiki.apache.org/solr/SolrRelevancyFAQ
Thanks,
Shawn