Re: Sorting and pagination

2014-12-10 Thread joergpra...@gmail.com
Are you sure you want the hits 0-5 and 1-6 in request 2? I assume you want hits 0-5 and 5-10. Jörg On Wed, Dec 10, 2014 at 4:48 PM, Sotiris Beis wrote: > Hi all, > > I was wondering how the scroing works when I ask for paginating results. I > run a test with the following search requests: > > *

Sorting and pagination

2014-12-10 Thread Sotiris Beis
Hi all, I was wondering how the scroing works when I ask for paginating results. I run a test with the following search requests: *Request 1* I run the following search request and write the results in a file. SearchRequestBuilder searchRequestBuilder = client.prepareSearch(INDEX_NAME)

Re: Sorting and Pagination

2014-09-22 Thread Matt Hughes
Another workaround appears to be by increasing the size to include all matches. I'm using Kibana and by default the grid limits the search size to 500 in pages of 100. By increasing the size to a much larger limit which encompasses all matches, the sorting is right. I don't see any performan

Sorting and Pagination

2014-09-16 Thread Matt Hughes
I have logstash indicies that go back thirty days. I have logs in those indices from today. If I do a search with: "size": 500, "sort": [ { "@timestamp": { "order": "desc", "ignore_unmapped": true } } ] I don't get any logs from today. If I limit the s