cancel
Showing results for 
Search instead for 
Did you mean: 

Product Search Result Boosting is not working

Former Member
0 Kudos
289

I have one search field where user can search products based on three fields : productCFN (String type), productBrand (String type) and productUpnName (text type). I am giving boost value based on priority so that result will come at the same order (higher boost value to lower boost value).

But search behavior is not working as expected. I have given boost value like that

productCFN 100

productBrand 20

productUpnName 50

So if i am searching it should first search by productCFN then productUpnName then productBrand and at the same order show result on the front end.

I have checked the query as well, seems that its correct, but don't know why its not working (I searched with 'CC0')

q=(productUpnName_text_en_us:(CC0~^25.0+OR+cc0~^25.0+OR+cc0^100.0+OR+CC0^100.0+OR+CC0*^50.0+OR+cc0*^50.0))+OR+(productCFN_string:(cc0^200.0+OR+CC0*^100.0+OR+CC0^200.0+OR+cc0*^100.0))+OR+(productBrand_string_mv:(CC0^40.0+OR+cc0*^20.0+OR+cc0^40.0+OR+CC0*^20.0))

My Problem is why products are not coming on the top whose productCFN starts with 'CC0' even if i have given highest score to productCFN.

Please help me

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

you have to give the boost value as given below.

productCFN 20 productBrand 50 productUpnName 100

Then CFN first will come in the list. Then Brand wise it comes then UpnName comes.

Hope this helps.

Thanks Samudrala

Former Member
0 Kudos

Didn't work for me. I think boosting is not at all working in my scenario. Probably i need to look some other solution why my boosting is not getting effected.

Former Member
0 Kudos

can you paste your code??? completely