mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-07 05:28:34 +00:00
Previously the parser could take any Term Vectors request, but this would be not the case of the builder which would still use MultiGetRequest.Item. This introduces a new Item class which is used by both the builder and parser. Beyond that the rest is mostly cleanups such as: 1) Deprecating the ignoreLike methods, in favor to using unlike. 2) Deprecating and renaming MoreLikeThisBuilder#addItem to addLikeItem. 3) Ordering the methods of MoreLikeThisBuilder more logically. This change is needed for the upcoming query refactoring of MLT. Closes #13372