November Happy Hour will be moved to Thursday December 5th.

Autocomplete cache clear

Vote:
 

It looks like when adding autocomplete results manually in Episerver Find 13, or when searching for a term and clicking a result, the autocomplete results returned from the search client are caching the list and we aren't seeing the new autocomplete items get returned by the search client until hours later. 

My 2 questions are:

1) What is the default duration on the autocomplete cache? 

2) Is there any way we can trigger a clear of the cache for autocomplete, or control the cache duration?

Thanks

#225971
Jul 31, 2020 18:19
Vote:
 

Not a Find expert, but I don't think autocomplete is cached. not quite sure why it's not updated for you thought ...

#225994
Aug 01, 2020 7:22
Vote:
 

I just tested adding new autocomplete phrase, and I got it instantly. So does not seems like it is cached.

How are you retriving them? In my case I use:

var autoComplete = SearchClient.Instance.Statistics().GetAutocomplete(query);
#226057
Aug 03, 2020 11:22
* 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.