3759063d34
ObjectParser allows you to declare a set of required fields, such that at least one of the set must appear in an xcontent object for it to be valid. This commit adds the similar concept of a set of exclusive fields, such that at most one of the set must be present. It also enables required fields on ConstructingObjectParser, and re-implements PercolateQueryBuilder.fromXContent() to use object parsing as an example of how this works. |
||
---|---|---|
.. | ||
cli | ||
core | ||
dissect | ||
geo | ||
grok | ||
nio | ||
plugin-classloader | ||
secure-sm | ||
ssl-config | ||
x-content | ||
build.gradle |