OpenSearch/modules
Zachary Tong c9db2de41d
[7.x] Comprehensively test supported/unsupported field type:agg combinations (#54451)
* Comprehensively test supported/unsupported field type:agg combinations (#52493)

This adds a test to AggregatorTestCase that allows us to programmatically
verify that an aggregator supports or does not support a particular
field type.  It fetches the list of registered field type parsers,
creates a MappedFieldType from the parser and then attempts to run
a basic agg against the field.

A supplied list of supported VSTypes are then compared against the
output (success or exception) and suceeds or fails the test accordingly.

Co-Authored-By: Mark Tozzi <mark.tozzi@gmail.com>
* Skip fields that are not aggregatable

* Use newIndexSearcher() to avoid incompatible readers (#52723)

Lucene's `newSearcher()` can generate readers like ParallelCompositeReader
which we can't use.  We need to instead use our helper `newIndexSearcher`
2020-03-31 14:35:03 -04:00
..
aggs-matrix-stats Clean up how pipeline aggs check for multi-bucket (backport of #54161) (#54379) 2020-03-30 10:44:55 -04:00
analysis-common [7.x] Optimize which Rest resources are used by the Rest tests… (#53766) 2020-03-19 12:28:59 -05:00
ingest-common [7.x] Optimize which Rest resources are used by the Rest tests… (#53766) 2020-03-19 12:28:59 -05:00
ingest-geoip [7.x] Optimize which Rest resources are used by the Rest tests… (#53766) 2020-03-19 12:28:59 -05:00
ingest-user-agent [7.x] Optimize which Rest resources are used by the Rest tests… (#53766) 2020-03-19 12:28:59 -05:00
lang-expression Don't double-wrap values (#54432) 2020-03-31 10:50:13 +01:00
lang-mustache [7.x] Optimize which Rest resources are used by the Rest tests… (#53766) 2020-03-19 12:28:59 -05:00
lang-painless Docs: Use splitOnToken instead of custom function (#48408) (#54364) 2020-03-27 15:04:27 -06:00
mapper-extras [7.x] Comprehensively test supported/unsupported field type:agg combinations (#54451) 2020-03-31 14:35:03 -04:00
parent-join [7.x] Comprehensively test supported/unsupported field type:agg combinations (#54451) 2020-03-31 14:35:03 -04:00
percolator [7.x] Optimize which Rest resources are used by the Rest tests… (#53766) 2020-03-19 12:28:59 -05:00
rank-eval [7.x] Optimize which Rest resources are used by the Rest tests… (#53766) 2020-03-19 12:28:59 -05:00
reindex Reindex negative TimeValue fix (#54057) 2020-03-24 22:29:09 +01:00
repository-url [7.x] Optimize which Rest resources are used by the Rest tests… (#53766) 2020-03-19 12:28:59 -05:00
systemd Single instance of the IndexNameExpressionResolver (#52604) 2020-02-21 07:50:02 -07:00
tasks Revert "Introduce system index APIs for Kibana (#53035)" (#53992) 2020-03-23 10:29:35 -07:00
transport-netty4 Move transport decoding and aggregation to server (#54360) 2020-03-27 14:13:10 -06:00
build.gradle Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00