Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Can not implement Epi find result return in correct order

Vote:
 

Hi everyone

I am working with Episerver Find and use this for search function on my website. Everything work well till I received new requirement: 



The second item should be on top because term "Water" in sentence: "Water Landing Page" show ealier than in "Landing Page for water".

Here is my query

Any help would be apperciated!
Thank you!

#200580
Edited, Jan 16, 2019 18:02
Vote:
 

Refer to this document:

https://world.episerver.com/documentation/developer-guides/find/NET-Client-API/searching/Boosting-with-filters/

You can only call the BoostMatching method when doing a search (that is, you are not finding all documents of a certain type or using the Filter method). The method must be called before any method not related to the search query (such as Filter, Take, and Skip).

I believe it's not working since you're calling boost after calling filter.

#200595
Edited, Jan 17, 2019 10:00
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.