OpenSearch/client
Julie Tibshirani 38ce428831
Create a class to hold field capabilities for one index. (#51844)
Currently, the same class `FieldCapabilities` is used both to represent the
capabilities for one index, and also the merged capabilities across indices. To
help clarify the logic, this PR proposes to create a separate class
`IndexFieldCapabilities` for the capabilities in one index. The refactor will
also help when adding `source_path` information in #49264, since the merged
source path field will have a different structure from the field for a single index.

Individual changes:
* Add a new class IndexFieldCapabilities.
* Remove extra constructor from FieldCapabilities.
* Combine the add and merge methods in FieldCapabilities.Builder.
2020-02-04 11:24:57 -08:00
..
benchmark [Backport] Remove dependency substitutions 7.x (#42866) 2019-06-04 13:50:23 -07:00
client-benchmark-noop-api-plugin Remove Settings from BaseRestRequest Constructor (#45418) (#45429) 2019-08-12 05:14:45 +02:00
rest Add HLRC docs for AuthN and TLS (#51355) (#51551) 2020-01-29 08:14:38 +02:00
rest-high-level Create a class to hold field capabilities for one index. (#51844) 2020-02-04 11:24:57 -08:00
sniffer Support es7 node http publish_address format (#49279) (#49839) 2019-12-05 13:53:42 -05:00
test Enable tests in FIPS 140 in JDK 11 (#49485) 2020-01-27 11:14:52 +02:00
transport [Backport] Remove dependency substitutions 7.x (#42866) 2019-06-04 13:50:23 -07:00