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