on 2015 May 20 9:23 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
27 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.