dbb01f5b43
The current MoreLikeThisQueryBuilder validation checks for existence of at least one `like` text or item. This is hard to check in setters, so this PR tries to change the construction of the query so that we can do these checks already at construction time. Changing to using arrays for fieldnames, likeTexts, likeItems, unlikeTexts and unlikeItems. `likeTexts` and/or `likeItems` need to be specified at construction time to validate we have at least one item there. Relates to #10217 |
||
---|---|---|
.. | ||
community-clients | ||
groovy-api | ||
java-api | ||
perl | ||
plugins | ||
python | ||
reference | ||
resiliency | ||
ruby | ||
README.asciidoc |
README.asciidoc
The Elasticsearch docs are in AsciiDoc format and can be built using the Elasticsearch documentation build process See: https://github.com/elastic/docs