Could not retrieve data randomly

I have a cluster with 3 physical servers and elasticsearch 1.2.3 installed.

I updated some data at yestoday and then today I got a strange issue:

I query data as following:

{
"query": {
"bool": {
"must": [
{
"term": {
"applicationDateRouting.patentDocumentId": "11387107"
}
}
],
"must_not": [],
"should": []
}
},
"from": 0,
"size": 10,
"sort": [],
"facets": {}
}

then I could get the expected one row data at the first time, then I query
again, I will get nothing as following response:

{

  • took: 40
  • timed_out: false
  • _shards: {
    • total: 10
    • successful: 10
    • failed: 0
      }
  • hits: {
    • total: 0
    • max_score: null
    • hits: [ ]
      }

}

then, I query again, I get one row, again, nothing, again, one row, again,
nothing....

In my application, we are using filter instead of query and we got the same
issue as above.

It seems a bug of elasticsearch, is there any idea about how to analyze
this issue?

--
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/b0b75829-e054-445b-a118-874f23ea30cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Is there anybody can help me with this issue?

--
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/afb83b2f-5735-44cb-89d3-90efc974b256%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

I need help about this, help!!!

--
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/823060d2-d4a4-4ffb-965c-26c69b953bb1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

additional information:

The replica factor of my index is 1, which means there are only 2 copies in
the cluster.

Since I can get the data every 2 times, I guess that there is one missing
copy, but how can I confirm it?

The cluster health api resports green.

--
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/6f5a1bb1-ec40-4c4f-8943-8172de46ac62%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Now I finally confirmed that it is a flappy item issue which had been
mentioned
before: https://groups.google.com/forum/#!topic/elasticsearch/a-LELkkLRoE

but it apears in version 1.2.3

Is there any advise about this issue? I am also interest in that whether
there is an internal mechanism in elasticsearch to avoid this situation?

I AM ALSO FRUSTRATED BY NO ANSWER HERE.

在 2014年10月14日星期二UTC+9下午12时43分17秒,xzer LR写道:

additional information:

The replica factor of my index is 1, which means there are only 2 copies
in the cluster.

Since I can get the data every 2 times, I guess that there is one missing
copy, but how can I confirm it?

The cluster health api resports green.

--
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/dbe9c2f0-7571-437d-ad6c-4dff06ea3114%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.