Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

EPiServer Find Autocomplete

Vote:
 
I want to include Autocomplete in EPiServer Find.I tried adding the code available in documentation(http://find.episerver.com/Documentation/stats-autocomplete) but I can't see any result. I have added the namespace "EPiServer.Find.Framework.Statistics". Please tell me what I have to do further in order to get autocomplete functionality. Thanks is advance.
#70934
May 04, 2013 16:52
Vote:
 

As far as I have understood, autocomplete is based on Find statistics. So in order to get suggestions, you need to track the searches.

SearchClient.Instance.Search<IContent>()
  .For("banana")
  .Track()
  .GetResult();

    

Read more here: http://find.episerver.com/Documentation/stats-tracking

#70943
May 06, 2013 8:16
Vote:
 
Thanks for the reply Mari. I have done the same,now I'm able to see the track of queries.
#71101
May 10, 2013 6:58
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* 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.