OpenSearch/x-pack/plugin
Jim Ferenczi ed4eecc00e Pre-sort shards based on the max/min value of the primary sort field (#49092)
This change automatically pre-sort search shards on search requests that use a primary sort based on the value of a field. When possible, the can_match phase will extract the min/max (depending on the provided sort order) values of each shard and use it to pre-sort the shards prior to running the subsequent phases. This feature can be useful to ensure that shards that contain recent data are executed first so that intermediate merge have more chance to contain contiguous data (think of date_histogram for instance) but it could also be used in a follow up to early terminate sorted top-hits queries that don't require the total hit count. The latter could significantly speed up the retrieval of the most/least
recent documents from time-based indices.

Relates #49091
2019-11-22 11:02:12 +01:00
..
analytics (refactor) Extract Empty/Script/Missing ValuesSource behavior to an interface (#48320) (#49330) 2019-11-19 16:44:29 -05:00
ccr Improve error message when pausing index (#48915) 2019-11-20 15:58:44 -05:00
core Deprecate misconfigured SSL server config (#49280) 2019-11-22 12:14:55 +11:00
deprecation Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
enrich Reuse collected cluster state in EnrichPolicyRunner (#48488) (#49100) 2019-11-14 14:14:39 -05:00
frozen-indices Pre-sort shards based on the max/min value of the primary sort field (#49092) 2019-11-22 11:02:12 +01:00
graph Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
ilm Slm set operation mode to RUNNING on first run (#49236) (#49425) 2019-11-21 11:41:32 +00:00
logstash Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
mapper-flattened Add telemetry for flattened fields. (#48972) (#49125) 2019-11-18 12:29:42 -08:00
ml [7.x] [ML][Inference] compressing model definition and lazy parsing (#49269) (#49446) 2019-11-21 15:32:32 -05:00
monitoring Monitoring should wait with collecting data when cluster service is started. (#49426) 2019-11-21 14:22:41 +01:00
rollup Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
search-business-rules Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
security Deprecate misconfigured SSL server config (#49280) 2019-11-22 12:14:55 +11:00
spatial Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
sql SQL:Docs: add the PIVOT clause to SELECT section (#49129) 2019-11-20 18:21:06 +01:00
src/test [7.x] Implement accuracy metric for multiclass classification (#47772) (#49430) 2019-11-21 15:01:18 +01:00
transform reenable warning checks in pivot tests (#49436) 2019-11-22 08:50:10 +01:00
vectors Increase the number of vector dims to 2048 (#46895) 2019-11-20 07:47:33 -05:00
voting-only-node Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
watcher Deprecate misconfigured SSL server config (#49280) 2019-11-22 12:14:55 +11:00
build.gradle Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00