November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
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'
Hello,
@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
$('#search').append(value.Query);
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.
Hello,
I am using Episerver Find 11 and implementing the autocomplete functuionality using Jquery as mention on episerver document http://world.episerver.com/documentation/Items/Developers-Guide/EPiServer-Find/11/search-statistics/search-statistics/
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,