Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

Autocomplete is returning 0 Hits Find 11



I am using Episerver Find 11 and implementing the autocomplete functuionality using Jquery as mention on episerver document

This is my search button



This is my script code.

When I check data using url http://localhost:55363/find_v2/_autocomplete?prefix=ho&size=5 on my localhost it gives me following results.


but when I run the code on UI and search, in alert I am geeting 0 hits and alert is showing 


Also In my controller for tracking I am using .track() method.

var unifiedSearch = SearchClient.Instance.UnifiedSearchFor(q).UsingSynonyms().ApplyBestBets().Track().Skip(skipNumber).Take(pageSize);

Thanks in advance,

Edited, Jul 03, 2017 12:31

You are searching for the term "q", and not from your search input field.

Something like this should work:

$.get('/find_v2/_autocomplete?prefix='+  $('#search').val() + '&size=4'
Jul 03, 2017 13:00


@Per Magne Skuseth

Yes using

$.get('/find_v2/_autocomplete?prefix='+  $('#search').val() + '&size=4'

I am getting data in alert.But still it is not showing all the 4 auto suggestions in textbox.

or better How can I show autosuggestion.

Will this work 

Jul 03, 2017 13:07

I suggest you install an episerver Alloy site with Episerver Find installed. Then you should check out the view for the FindSearchPage. You'll find a good example of an implementation of autocomplete there.

Jul 03, 2017 13:18


Thanks for the suggestion.

Jul 03, 2017 13:20
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.