I'm trying to build an autocomplete feature and am trying to use an
edge_ngram filter with a custom analyzer and a fuzzy search. A issue I'm having is that a query might (probably will) match multiple records, but I want an unique set of results. Does anyone have any idea of how to do this, or if there is a different approach that might work?
PS: I don't think I can use the completion suggester because I have to be able to autocomplete from the middle of works as well, no only prefix