从 ES 1.4 升级到 ES 2.3 时获取不同顺序的文档

Getting different sequence of documents when upgraded from ES 1.4 to ES 2.3

我在 es 1.4.2 上使用了这个查询 curl localhost:9200/tweets/user/_search?size=25,得到了以下结果:

{
  "took": 5,
  "timed_out": false,
  "_shards": {
    "total": 6,
    "successful": 6,
    "failed": 0
  },
  "hits": {
    "total": 294633,
    "max_score": 1,
    "hits": [
...

带有文档列表。

当我 运行 在 es 2.3.0 上进行相同的查询时,我得到了相同的点击,但文档完全不同。

可能是什么原因?

文档说 the order will be random:

This will apply a constant score (default of 1) to all documents. It will perform the same as the above query, and all documents will be returned randomly like before, they’ll just have a score of one instead of zero.