Inconsistent paging


(ronsher) #1

We've noticed a strange behavior in elasticsearch during paging.

In one case we use a paging size of 60 and we have 63 documents. So the
first page is using size 60 and offset 0. The second page is using size 60
and offset 60.

What we see is that the result is inconsistent. Meaning, on the 2nd page, we
sometimes get results that were before in the 1st page.

The query we use has an order by some numberic field that has many documents
with the same value (0).
It looks like the ordering between documents according to the same value,
which is 0, isn't consistent.

Did anyone encounter such behavior? Any suggestions on resolving this?

We're using version 1.3.1.

Thanks,
Ron

--
View this message in context: http://elasticsearch-users.115913.n3.nabble.com/inconsistent-paging-tp4061986.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.

--
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/1408336696765-4061986.post%40n3.nabble.com.
For more options, visit https://groups.google.com/d/optout.


(vineeth mohan-2) #2

You have asked teh same question from another GMAIL ID.
Please refer to the answers over there.

Thanks
Vineeth

On Mon, Aug 18, 2014 at 10:08 AM, ronsher ronsher@gmail.com wrote:

We've noticed a strange behavior in elasticsearch during paging.

In one case we use a paging size of 60 and we have 63 documents. So the
first page is using size 60 and offset 0. The second page is using size 60
and offset 60.

What we see is that the result is inconsistent. Meaning, on the 2nd page,
we
sometimes get results that were before in the 1st page.

The query we use has an order by some numberic field that has many
documents
with the same value (0).
It looks like the ordering between documents according to the same value,
which is 0, isn't consistent.

Did anyone encounter such behavior? Any suggestions on resolving this?

We're using version 1.3.1.

Thanks,
Ron

--
View this message in context:
http://elasticsearch-users.115913.n3.nabble.com/inconsistent-paging-tp4061986.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.

--
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/1408336696765-4061986.post%40n3.nabble.com
.
For more options, visit https://groups.google.com/d/optout.

--
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/CAGdPd5%3DyZNSi7usuBuc88N26rXrOeZ0682VJq-6cFE281fkV2A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(system) #3