In fact the probleme is global.
When I call both the request belox (without pagination), the first return
result, the second "{"total_rows":278,"rows":[]}"
'{
"query": {
"filtered" : {
"query" : {
"match_all" : {}
},
"filter" : {
"geo_distance" : {
"distance" : 10km",
"location" : [10,10]
}
}
}
}
}'
Le samedi 15 novembre 2014 18:49:46 UTC+1, Arnaud Coutant a écrit :
>
> Dear Community Members,
>
> I use this request:
> '{
> "size": 10, from: 0,
> "query": {
>
> "filtered" : {
> "query" : {
> "match_all" : {}
> },
> "filter" : {
> "geo_distance" : {
> "distance" : 10km",
> "location" : [10,10]
> }
> }
> }
> }
> }'
>
> This request is built dynamically in order to paginate the result.
>
> The first call of this request works, but each other call return 0 value
> despite there are more than 10 values left. If I call again the same
> request with the exact same value, the request return also 0 value instead
> of the same value that the first one.
>
> Exact return is "{"total_rows":278,"rows":[]}"
>
> Is something missing ?
>
> Thanks a lot for your 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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/20dc722e-5cd1-422d-b250-37d13495bc15%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.