Try our conversational search powered by Generative AI!

Whitelist for autocomplete


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 (

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?

Mar 25, 2019 12:48

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.

Mar 28, 2019 20:31

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

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.