Autocomplete limited to specific page type



We are using EPiServer Find Stats on global search to get autocomplete suggestions by returning previous queries filtered on a ‘prefix’ based on that ->

Now we are going to implement news archive with option to filter items by free text and there we need to implement autocomplete as well, when we use same approach as for global search we might receive autocomplete hints which are not related to news (e.g. some query used in global search which returned some items there but will not return any news is not relevant for news archive)

Is it possible somehow to get only autocomplete suggestions based on page type?

Thanks in advance for any advice

Jul 08, 2013 9:56

Hi Grzegorz!

I guess you already solved this but here is my solution that I just got working yesterday.


Oct 15, 2014 14:48

Hi Kristoffer,

At the end customer decided to chose another approach so I was not investigating that more. But your solution is I think to find results based on the content isn't it? Our need was to search based on statistics EPiServer Find Stats (so words once used in search returning some result pages shall be retrieved in autocomplete for next calls)

BR, Greg

Oct 15, 2014 14:59

Yes, that's correct. Ok, then this wasn't for you. :)


Oct 15, 2014 15:03
* 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.