I've looked into this and that is *not* the case.
For example, by using the following script, I can determine one of the
document IDs that is passing the offending tag id/name combination:
doc['id'].value+'|'+doc['tag.id'].value+'|'+doc['tag.name.raw'].value
Which returns:
45|352|Tag B
When I look at that document, it has the following tag array:
{
"id": 45,
"tags": [
{
"id": "352",
"name": "Tag A"
},
{
"id": "355",
"name": "Tag B"
},
{
"id": "458",
"name": "Tag C"
}
]
}
The document is indexed correctly: Tag A = 352. My aggregation script is
returning "Tag B" with id 322, however.
Any other ideas what could cause this? Is there an issue with my mapping?
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/3ccf90f9-f89b-4ff7-bc87-2be67334778b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.