Hi guys,
I have a mapping like below to match exact value for _value field but
_value field is analyzed.
'not_analyzed' option works very well right under the properties like
'_type' field, but under the 'multi_field' type it doesn't work.
am i doing something wrong? or is there a workaround to match exact value
for value field?
thanks guys in advance.
"internal":{
"_index":{
"enabled":true
},
"_id":{
"index":"not_analyzed",
"store":"yes",
"path" :"_uid"
},
"properties":{
"_type" : {"type":"string","index":"not_analyzed","store":"yes"},
"_fields" : {
"properties":{
"$name":{
"type":"multi_field",
"fields":{
"$name" : {"type" : "string", "index" : "not_analyzed"},
"type" : {"type" : "integer", "index" : "not_analyzed"},
"_value" : {"type" : "string", "index" : "not_analyzed"},
"value" : {"type" : "string", "index" : "analyzed"}
}
}
}
}
}
}
--
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.