How change sorting/boosting order based on search term?
I have previously asked how to boost programmatically based on template:
Now i have few more clarity on one scenario like below:
Like if I boost result based on template, now if I want boost based on any field as well like if my template order is: Bio->Service->Industry->Office
so result come in above order if someone search for any office like 'Atlanta' that also tagged on Bio, Service, Industry etc.so result come in same order but as user want to search office then i only wanna show 'Atlanta' office as first item.
Ok. I read the other question. Correct me if I did not understand properly:
If you think that your users will want to search for an `Office` specifically, would it be a good idea to have a facet on the field `_templatename`? This way, the end user could specify that he is looking for an office.
Then, you can apply different boosting based on the selected facet value: if `office` is selected, add a boosting expression on your `OfficeTitle`. Although I don't think you need this last example as Coveo's ranking algorithm rank your items properly.