Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport] [2.x] add toBuilder method on some models (#766) #797

Merged
merged 2 commits into from
Jan 3, 2024

Conversation

channel-dante
Copy link
Contributor

(cherry picked from commit a8fea24)

Description

* add toQuery() on SearchRequest

Signed-off-by: channel-dante <[email protected]>

* add toBuilder() on all Request in org.opensearch.client.opensearch.core

Signed-off-by: channel-dante <[email protected]>

* add toBuilder() on all Builder in org.opensearch.client.opensearch._types.query_dsl

Signed-off-by: channel-dante <[email protected]>

* update CHANGELOG.md

Signed-off-by: channel-dante <[email protected]>

* apply spotlessApply

Signed-off-by: channel-dante <[email protected]>

* fix CommonTermsQuery.toBuilder()

Signed-off-by: channel-dante <[email protected]>

* fix FuzzyQuery.toBuilder()

Signed-off-by: channel-dante <[email protected]>

* fix toBuilders

Signed-off-by: channel-dante <[email protected]>

* add test for _types/query_dsl package

Signed-off-by: channel-dante <[email protected]>

* add test for core package

Signed-off-by: channel-dante <[email protected]>

* spotlessApply

Signed-off-by: channel-dante <[email protected]>

* fix test

Signed-off-by: channel-dante <[email protected]>

* revert ModelTestCase

Signed-off-by: channel-dante <[email protected]>

* revert ModelTestCase

Signed-off-by: channel-dante <[email protected]>

* add pr link on CHANGELOG.md

Signed-off-by: channel-dante <[email protected]>

* add pr link on CHANGELOG.md

Signed-off-by: channel-dante <[email protected]>

* apply spotless

Signed-off-by: channel-dante <[email protected]>

---------

Signed-off-by: channel-dante <[email protected]>

(cherry picked from commit a8fea24)
Signed-off-by: channel-dante <[email protected]>
Signed-off-by: channel-dante <[email protected]>
@VachaShah VachaShah merged commit 29ea02c into opensearch-project:2.x Jan 3, 2024
38 checks passed
@BrendonFaleiro BrendonFaleiro mentioned this pull request Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants