AI OnAI Off
I think you can accomplish this by implementing a custom search provider. I did the same thing, and wanted one single hit when searching for the content id.
Have a look, and see if it helps:
https://www.gulla.net/en/blog/search-for-episerver-page-id/
Neat! I actually started to looking at the decompiled code and putting something together based on EnterpriseBlockSearchProvider
, but this looks very clean. I Will definitely use this as inspiration.
We have a solution on Episerver DXP with a bunch of pages and blocks. Editors are sometimes looking for blocks via the search field in the assets pane.
What happens is that when they provide the exact block name, 1-1 spelling in the search box, it does not come up in the results.
The blocks are indexed as I can locate them in the index. How can I boost the results so when the title is an exact match, it's returned, and ideally, high in the list?