I have noticed that when I'm applying sorting in my queries, the return
times are remaining relatively constant at ~1.5s no matter what filters I
apply (Even if I get 0 hits). It seems like ES might be sorting the entire
index, then applying the filters after.
As a test I checked how long it took ES to sort the entire index and it was
Here are some results for different queries comparing how many hits they
got to how much time they took(ms):
As you can see the time the queries are taking remains relatively constant
when I have sorting on no matter how many hits I get. What is happening
As a baseline if I remove sorting I get the following:
*All these tests were done with a return size of 500, so I would expect
queries with more hits to return slightly faster
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 firstname.lastname@example.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/e0b97088-6454-4fe2-8707-c0f629aecf0a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.