Hi Community,
I ran into an issue. I am trying to explore the multi field feature. If I use the following mapping, it all works well. I can search for exact match and fuzzy as well.
{
"mappings" : {
"test" : {
"properties" : {
"value" : {
"type" : "string",
"fields": {
"value-exact": { "type": "string", "index": "not_analyzed" }
}
}
}
}
}
}
However, if I group the field 'value' inside another then it doesnt really give me results for exact match. The mapping is following:
{
"mappings" : {
"test" : {
"properties" : {
"topField" : {
"properties" : {
"value" : {
"type" : "string",
"fields": {
"value-exact": { "type": "string", "index": "not_analyzed" }
}
}
}
}
}
}
}
}
I would really appreciate any help on this. Thanks.