Shouldn't ES be sorting on the entire result set and then return me the
top 500? Instead, it appears to limit the results to 500 and then sort by
time. Is this expected behavior? Is there a workaround?
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
performance hits that are obvious. Is this a known issue?
On Tuesday, September 16, 2014 5:15:11 PM UTC-4, Matt Hughes wrote:
I have logstash indicies that go back thirty days. I have logs in those
indices from today.
Shouldn't ES be sorting on the entire result set and then return me the
top 500? Instead, it appears to limit the results to 500 and then sort by
time. Is this expected behavior? Is there a workaround?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.