I have this query:
POST /contents/post/_search
{
"query" : {
"match": {
"postMessage": "game of thrones"
}
},
"size": 10
}
I'm getting several results but two of them have the same id and they're
the same exact document (as seen below).
On what terms can this happen?
- JSON http://jsonviewer.stack.hu/#
- took : 5 http://jsonviewer.stack.hu/#
- timed_out : false http://jsonviewer.stack.hu/#
- _shards http://jsonviewer.stack.hu/#
- hits http://jsonviewer.stack.hu/#
- total : 7 http://jsonviewer.stack.hu/#
- max_score : 4.9791126 http://jsonviewer.stack.hu/#
- hits http://jsonviewer.stack.hu/#
- 0 http://jsonviewer.stack.hu/#
- 1 http://jsonviewer.stack.hu/#
- _index : "contents" http://jsonviewer.stack.hu/#
- _type : "post" http://jsonviewer.stack.hu/#
- _id : "d80ba3a142a049daa9d7307bed06a531"http://jsonviewer.stack.hu/#
- _score : 3.1055753 http://jsonviewer.stack.hu/#
- _source http://jsonviewer.stack.hu/#
- 2 http://jsonviewer.stack.hu/#
- _index : "contents" http://jsonviewer.stack.hu/#
- _type : "post" http://jsonviewer.stack.hu/#
- _id : "d80ba3a142a049daa9d7307bed06a531"http://jsonviewer.stack.hu/#
- _score : 3.045415 http://jsonviewer.stack.hu/#
- _source http://jsonviewer.stack.hu/#
- 3 http://jsonviewer.stack.hu/#
- 4 http://jsonviewer.stack.hu/#
- 5 http://jsonviewer.stack.hu/#
- 6 http://jsonviewer.stack.hu/#
--
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/48e7210e-4426-4977-b859-23aeeeb04602%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.