Query for automplete feature?

should we use edge_ngram for autocomplete?
If yes will it have any any impact on query execution?
If no then what is the use of ngram if one can search using query_string query?

Also let suppose want to create ngram of a field whose value is like "fname lname email phone_number" and all the documents will have value with this format is it feasible to create of ngrams of this field consider total documents > 1000 and each document will have this field?

Take a look at the relatively new search-as-you-type datatype, maybe just reusing that datatype without special configuration is already enough for your use-case.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.