Re: behavior of scrolling search with from parameter in newer ES versions

2015-01-21 Thread Martijn v Groningen
Hi Gordon, This `from` is kind of ignored for scroll search. I don't remember why that was the case, but it seems to me that scroll search can/should take into account the `from` option during the first scroll search request. Martijn On 20 January 2015 at 23:33, Gordon Tillman gor...@gmail.com

Re: behavior of scrolling search with from parameter in newer ES versions

2015-01-21 Thread Gordon Tillman
Thanks Martijn, That is what I have observed. But is is a regression from ES version 1.0.1 and before. And I can't find anything that even implies that `from` is not supported for a scroll search, except of course when `search_type=scan`. I would love to get support for that back into the

Re: behavior of scrolling search with from parameter in newer ES versions

2015-01-21 Thread Martijn v Groningen
I agree, this should be fixed: https://github.com/elasticsearch/elasticsearch/issues/9373 On 21 January 2015 at 14:27, Gordon Tillman gor...@gmail.com wrote: Thanks Martijn, That is what I have observed. But is is a regression from ES version 1.0.1 and before. And I can't find anything that

Re: behavior of scrolling search with from parameter in newer ES versions

2015-01-21 Thread Gordon Tillman
Thank you Martijn! On Wednesday, January 21, 2015 at 8:04:23 AM UTC-6, Martijn v Groningen wrote: I agree, this should be fixed: https://github.com/elasticsearch/elasticsearch/issues/9373 On 21 January 2015 at 14:27, Gordon Tillman gor...@gmail.com javascript: wrote: Thanks Martijn,

behavior of scrolling search with from parameter in newer ES versions

2015-01-20 Thread Gordon Tillman
Greetings All, I ran into an interesting issue when upgrading from ES version 1.0.1 to newer versions. In particular, I tested the following with versions 1.2.4, 1.3.4 and 1.4.2. *summary* When doing a normal scroll search (not one with a *search_type=scan*), it appears that the from