Do you guys know if there's a tutorial, example or documentation online on how to achieve it? I can find products when entering the query manually and refreshing the page.
But getting it to work with autocomplete seems a bit of a challenge to me.
I hope you guys can lead me in the correct direction :)
I took everything and changed my autocomplete source to: source: "/MacroPartials/Search_JSON",.
I have a feeling the source is the issue. I created Search_JSON as a partial view (and macro).
The only thing I've changed is this line in Search_JSON.cshtml: var searcher = ExamineManager.Instance.SearchProviderCollection["MySearchSearcher"];
Because I took the example from this tutorial
Examine with autocomplete
Greetings,
I'm trying to make autocomplete (jquery ui) to work with this Umbraco Examine example.
Do you guys know if there's a tutorial, example or documentation online on how to achieve it? I can find products when entering the query manually and refreshing the page.
But getting it to work with autocomplete seems a bit of a challenge to me.
I hope you guys can lead me in the correct direction :)
Cheers!
Hi Mike,
I searched on Our to see if I could find some similar posts. I can found this.
https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/67642-examine-json-search-autocomplete-not-working
Also try to see this https://our.umbraco.org/forum/developers/razor/67675-search-term-json-autocomplete
Perhaps it could help you too I hope so.
/Dennis
Hey Dennis,
Thank you for stepping by :)
I should have mentioned that I tired the first approach but was unsuccessful because I get the following error:
I took everything and changed my autocomplete source to:
source: "/MacroPartials/Search_JSON",
.I have a feeling the source is the issue. I created
Search_JSON
as a partial view (and macro).The only thing I've changed is this line in Search_JSON.cshtml:
var searcher = ExamineManager.Instance.SearchProviderCollection["MySearchSearcher"];
Because I took the example from this tutorialis working on a reply...