Try our conversational search powered by Generative AI!

Whitelist for autocomplete

Vote:
 

Hi. In an EPiserver project I working on, we use EPiserver.Find as search provider. We also use the autocomplete api as described under statistics ( https://world.episerver.com/documentation/developer-guides/find/search-statistics/).

We find that the users are searching for stranges things and we need to limit the results in the autocomplete list.

It is possible to get only the phrases added in the autocomplete panel in Episerver.find as a whitelist  without searching in the statistics data?

#202390
Mar 25, 2019 12:48
Vote:
 

Hi Trond,

It's honestly easy enough to just build your own autocomplete API, then you could apply all the customization you require.

You could just wire it up like a normal search (probably using the PrefixCaseInsensitive method, see 'Matching by beginning of a string' here) and use projections to ensure you only pull back the minimum amount of data.

#202679
Mar 28, 2019 20:31
Vote:
 

Is this still the case? Is there no way of filtering out or removing autocomplete data that Find has autogenerated from user input?

#222369
May 04, 2020 13:05
* 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.