OpenSearch/modules
Adrien Grand 1807f86751
Generalize how queries on `_index` are handled at rewrite time (#52815)
Generalize how queries on `_index` are handled at rewrite time (#52486)

Since this change refactors rewrites, I also took it as an opportunity to adrress #49254: instead of returning the same queries you would get on a keyword field when a field is unmapped, queries get rewritten to a MatchNoDocsQueryBuilder.

This change exposed a couple bugs, like the fact that the percolator doesn't rewrite queries at query time, or that the significant_terms aggregation doesn't rewrite its inner filter, which I fixed.

Closes #49254
2020-02-26 15:37:43 +01:00
..
aggs-matrix-stats Rename MapperService#fullName to fieldType. 2020-02-07 10:35:53 -08:00
analysis-common Single instance of the IndexNameExpressionResolver (#52604) 2020-02-21 07:50:02 -07:00
ingest-common RestHandlers declare handled routes (#52123) 2020-02-09 22:48:32 -07:00
ingest-geoip Allow list of IPs in geoip ingest processor (#49573) (#49947) 2019-12-07 00:19:09 +01:00
ingest-user-agent Mute ‘test user agent processor with non-ECS schema’ 2020-02-12 10:27:18 -05:00
lang-expression Upgrade Lucene to 8.5.0-snapshot-b01d7cb (#52584) 2020-02-21 10:25:03 +00:00
lang-mustache RestHandlers declare handled routes (#52123) 2020-02-09 22:48:32 -07:00
lang-painless Use ByteBuffersDirectory rather than RAMDirectory (#52768) 2020-02-25 15:46:35 +00:00
mapper-extras Upgrade Lucene to 8.5.0-snapshot-b01d7cb (#52584) 2020-02-21 10:25:03 +00:00
parent-join Add a cluster setting to disallow expensive queries (#51385) (#52279) 2020-02-12 22:56:14 +01:00
percolator Generalize how queries on `_index` are handled at rewrite time (#52815) 2020-02-26 15:37:43 +01:00
rank-eval RestHandlers declare handled routes (#52123) 2020-02-09 22:48:32 -07:00
reindex Delete by query test on low free disk block (#52759) 2020-02-25 15:54:30 +01:00
repository-url Remove Unused Single Delete in BlobStoreRepository (#50024) (#50123) 2019-12-12 11:17:46 +01:00
systemd Single instance of the IndexNameExpressionResolver (#52604) 2020-02-21 07:50:02 -07:00
tasks Deprecate creation of dot-prefixed index names except for hidden and system indices (#49959) 2020-01-28 10:01:16 -07:00
transport-netty4 Fix compilation error 2020-02-20 14:39:44 +00:00
build.gradle Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00