OpenSearch/docs/reference/migration
Christoph Büscher dbb01f5b43 Query Refactoring: Move MoreLikeThisQueryBuilder validation to constructor
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
2015-09-23 18:20:46 +02:00
..
migrate_2_0 Docs: Update query_dsl.asciidoc 2015-09-19 16:09:53 +02:00
index.asciidoc Remove the scan and count search types. 2015-09-07 15:18:45 +02:00
migrate_1_0.asciidoc Docs: Remove docs for the `filtered`, `and`, `or` and `(f)query` queries. 2015-09-11 11:00:54 +02:00
migrate_1_4.asciidoc Query DSL: Remove filter parsers. 2015-05-07 20:14:34 +02:00
migrate_1_6.asciidoc parent/child: Deprecated the `top_children` in favour of the `has_child` query. 2015-05-07 09:27:54 +02:00
migrate_2_0.asciidoc Mapping: Default position_offset_gap to 100 2015-08-25 14:21:50 -04:00
migrate_2_1.asciidoc [search] Limit the size of the result window 2015-09-10 15:38:29 -04:00
migrate_3_0.asciidoc parent/child: several cleanups 2015-09-10 17:15:41 +02:00
migrate_query_refactoring.asciidoc Query Refactoring: Move MoreLikeThisQueryBuilder validation to constructor 2015-09-23 18:20:46 +02:00