This article provides advice on how to debug issues wih auto-completion.
Auto-completion is not returning any suggestions
Open up the browser debugger and view the network panel. Start typing into the search box and watch the network panel for any requests to
suggest.json. If you can see requests being sent then view the response from one of these. The response should contain a JSON packet with any suggestions. If the JSON is empty then there are either no suggestions to return, or autocompletion may not have been generated. If you are using concierge auto-completion there will be a
suggest.jsonrequest for each column of the auto-completion. Also check the parameters passed to
Auto-completion suggestions not displaying
suggest.json is returning suggestions but they are not displaying, or are displaying
Also make sure that you check to ensure that all the fields you require are returned in the auto-completion JSON. It is possible that fields were missing in the CSV used to generate the auto-completion.
Removing terms from auto-completion
Non-CSV based auto-completion suggestions are based on words found within the spelling index. Terms can be added or removed from the set of suggestions by editing the spelling black and white lists for the search package that is used to generate the auto-completion.
Auto-completion not generated during update
auto-completion=disabled is not set in the results page configuration.
Also check the
Step-BuildAutocompletion logs for the search package and look for errors and also for the counts of how many suggestions were generated. If the suggestions are CSV based there could be an issue with the CSV file format. Also check the results page options corresponding to the auto-completion data set profile to ensure that the index isn’t scoped in a way that it no longer contains any results. This will cause an empty suggestions file to be generated.