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 <dante@channel.io>

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

Signed-off-by: channel-dante <dante@channel.io>

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

Signed-off-by: channel-dante <dante@channel.io>

* update CHANGELOG.md

Signed-off-by: channel-dante <dante@channel.io>

* apply spotlessApply

Signed-off-by: channel-dante <dante@channel.io>

* fix CommonTermsQuery.toBuilder()

Signed-off-by: channel-dante <dante@channel.io>

* fix FuzzyQuery.toBuilder()

Signed-off-by: channel-dante <dante@channel.io>

* fix toBuilders

Signed-off-by: channel-dante <dante@channel.io>

* add test for _types/query_dsl package

Signed-off-by: channel-dante <dante@channel.io>

* add test for core package

Signed-off-by: channel-dante <dante@channel.io>

* spotlessApply

Signed-off-by: channel-dante <dante@channel.io>

* fix test

Signed-off-by: channel-dante <dante@channel.io>

* revert ModelTestCase

Signed-off-by: channel-dante <dante@channel.io>

* revert ModelTestCase

Signed-off-by: channel-dante <dante@channel.io>

* add pr link on CHANGELOG.md

Signed-off-by: channel-dante <dante@channel.io>

* add pr link on CHANGELOG.md

Signed-off-by: channel-dante <dante@channel.io>

* apply spotless

Signed-off-by: channel-dante <dante@channel.io>

---------

Signed-off-by: channel-dante <dante@channel.io>

(cherry picked from commit a8fea24)
Signed-off-by: channel-dante <dante@channel.io>
Signed-off-by: channel-dante <dante@channel.io>
@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