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 https://discuss.elastic.co/

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/6967f7d9-cfa7-48f8-9d33-20b755cecdbc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #2