This is currently running the same query as the search (so as to handle typing errors), but consequently requires all but the last 2 chars ("maxEdits":2) to start matching a word. One of Lucene's suggesters e.g. AnalyzingInfixSuggester might be more useful in a user interface.
This is currently running the same query as the search (so as to handle typing errors), but consequently requires all but the last 2 chars ("maxEdits":2) to start matching a word. One of Lucene's suggesters e.g. AnalyzingInfixSuggester might be more useful in a user interface.