elasticsearch/qa/multi-cluster-search
Matteo Piergiovanni 54cfce4379
Flag in _field_caps to return only fields with values in index (#103651)
We are adding a query parameter to the field_caps api in order to filter out 
fields with no values. The parameter is called `include_empty_fields`  and 
defaults to true, and if set to false it will filter out from the field_caps 
response all the fields that has no value in the index.
We keep track of FieldInfos during refresh in order to know which field has 
value in an index. We added also a system property 
`es.field_caps_empty_fields_filter` in order to disable this feature if needed.

---------

Co-authored-by: Matthias Wilhelm <ankertal@gmail.com>
2024-02-08 17:52:21 +01:00
..
src/test Flag in _field_caps to return only fields with values in index (#103651) 2024-02-08 17:52:21 +01:00
build.gradle Remove gradle references to the rest-high-level client (#104871) 2024-01-29 14:13:06 -05:00