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 |
||
---|---|---|
.. | ||
migrate_2_0 | ||
index.asciidoc | ||
migrate_1_0.asciidoc | ||
migrate_1_4.asciidoc | ||
migrate_1_6.asciidoc | ||
migrate_2_0.asciidoc | ||
migrate_2_1.asciidoc | ||
migrate_3_0.asciidoc | ||
migrate_query_refactoring.asciidoc |