I am using an ngram analyzer for doing auto complete search on a particular
field using elasticsearch.
By default I have set the number of results to return to 10 using "size:10"
inside the query.
But what I want is that as my search nears the exact match, the results
returned by elastic search should reduce
For example
If searching for: "fl"
Will return : "flake", "flower", "fleet", "flank", "flatter".
If searching for: "fla"
Will return : "flan","flank", "flatter".
If searching for: "flan"
Will return : "flan","flank".
Right now all results are returned even if i search for "flan"
I am also using phonetic search.
Regards,
Soumya
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/b29221de-e7bb-4e6e-a0a5-6791da47da7b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.