Ngram for autocomplete\typeahead

i'm using edgengram to do a username search (for an autocomplete feature)
but it seems to be ignoring my search_analyzer and instead splits my search
string into ngrams (according to the analyze API anyway).

Here's my setup :https://gist.github.com/briandilley/5530387

The sample search works as expected (matches usernames starting with
"brian") but if i search for a username that doesn't exist like
"briandoesntexist" it still returns all "brian" matches - any idea?

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

Here's the post on stackoverflow for those of you interested in nerd points
:slight_smile:

--
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.
For more options, visit https://groups.google.com/groups/opt_out.