Help with ngram analyzer after migrating to ES 1.5

(shgeorge) #1

After migrating to ES 1.5 from ES 0.90.5, our tests are failing for keyword
searches. Has there been any changes with respect to ngram analyzer from
0.90 to 1.5.

We are using the attached settings using ngram analyzer.
We haven't specifically passing an analyzer at query time. So I am assuming
we'll use the same analyzer used at index time.

Our mapping looks like this

"name": {
"fields": {
"name": {
"index": "not_analyzed",
"type": "string"
"analyzed_name_field": {
"analyzer": "name_analyzer"
"index": "analyzed",
"type": "string"
"type": "multi_field"

Say we are indexing 2 docs with names
Kara's cupcakes

Please update your bookmarks! We have moved to

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
To view this discussion on the web visit
For more options, visit

(system) #2