Scroll and parent / child


(Olivier Dolbeau) #1

Hi all !

I would like to make a scroll with a filtered query which contains filter
on a child mapping.

The first query works fine. The "totalHits" value is correct and I can
start scrolling.
But when I ask for the first scroll, I have no result.

Without filter on the child index, no problem, the scroll works as expected.

Is this a bug or an undocumented limitation of the scroll API ?

Thanks for your responses. :slight_smile:

Olivier
BlaBlaCar

--
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/87932d6d-5cf8-4f13-9b62-09b1732fb1ab%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Clinton Gormley) #2

Hi Oliver

I've just tried this out and it worked fine - could you show us the actual
code that you're using?

thanks

Clint

On 5 December 2013 13:56, Olivier Dolbeau odolbeau@gmail.com wrote:

Hi all !

I would like to make a scroll with a filtered query which contains filter
on a child mapping.

The first query works fine. The "totalHits" value is correct and I can
start scrolling.
But when I ask for the first scroll, I have no result.

Without filter on the child index, no problem, the scroll works as
expected.

Is this a bug or an undocumented limitation of the scroll API ?

Thanks for your responses. :slight_smile:

Olivier
BlaBlaCar

--
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/87932d6d-5cf8-4f13-9b62-09b1732fb1ab%40googlegroups.com
.
For more options, visit https://groups.google.com/groups/opt_out.

--
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/CAPt3XKSTqSJtN0QF9w9JN7n2p4c9uqO%3DE4QJRfvHH72q-3yMUw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #3