Added two more distancefilter benchmarks and updated iterations after new optimizations#693
Conversation
…zations The recent optimization of ESQL distance-sort allows us to benchmark that properly. That PR also did a few bug-fixes to distance filtering, so we added an alternative version of the query that is now also optimized.
| "body": { | ||
| "query": { | ||
| "bool": { | ||
| "must": [ |
There was a problem hiding this comment.
Use a filter instead of must?
| }, | ||
| { | ||
| "bool": { | ||
| "must_not": [ |
There was a problem hiding this comment.
Instead of a must not, could we use a disjoint spatial relationship?
There was a problem hiding this comment.
The disjoint version was the original version. This is an alternative query that deliberately does things differently, to see if that makes a difference to the performance. It does not seem to make any difference.
iverase
left a comment
There was a problem hiding this comment.
I think we can improve the _search, wdyt?
The original |
The recent optimization of ESQL distance-sort allows us to benchmark that properly. That PR also did a few bug-fixes to distance filtering, so we added an alternative version of the query that is now also optimized.