It seems to work for some documents but not all documents, how is it possible ?
I verified that the cluster is yellow (no replica) and all shards are available for this index, my version of elasticsearch is 2.1.1.
Please use ``` around anything that should have whitespace preserved. The forum doesn't detect that stuff and I can't read json without it!
Routing and parent/child. When you use routing the type and id no longer control which shard gets the document. Instead Elasticsearch just hashes the routing. Parent/child just uses the parent as the routing. Do you use any of those?
It makes sense that a plain GET would work for some documents. It should work in about one out of every number_of_shards documents.
Yes you're right I've got a parent/child association.
And effectively it works for about 25% of documents and I've got 4 shards.
I encountered this problem because I'm trying to add child documents and it only works with about 25% of my documents, my logstash configuration is :
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.