forked from opensearch-project/opensearch-java
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add wrapper to builder #1
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…#259) Signed-off-by: Andriy Redko <[email protected]> Signed-off-by: Andriy Redko <[email protected]> Signed-off-by: Andriy Redko <[email protected]>
Signed-off-by: Andriy Redko <[email protected]> Signed-off-by: Andriy Redko <[email protected]> Signed-off-by: Andriy Redko <[email protected]>
…te (opensearch-project#306) (opensearch-project#313) Signed-off-by: Siva <[email protected]> Signed-off-by: Siva <[email protected]>
) (opensearch-project#320) Signed-off-by: Andriy Redko <[email protected]> Signed-off-by: Andriy Redko <[email protected]> Signed-off-by: Andriy Redko <[email protected]>
…oject#276) (opensearch-project#319) * Removing unsupported dynamic_templates option Signed-off-by: Vacha Shah <[email protected]> * Update CHANGELOG Signed-off-by: Vacha Shah <[email protected]> Signed-off-by: Vacha Shah <[email protected]> (cherry picked from commit 52679c3) Co-authored-by: Vacha Shah <[email protected]>
…-project#327) Signed-off-by: dblock <[email protected]> (cherry picked from commit 4165674) Co-authored-by: Daniel (dB.) Doubrovkine <[email protected]>
…earch-project#281) (opensearch-project#328) Signed-off-by: Andriy Redko <[email protected]> Signed-off-by: Andriy Redko <[email protected]> Signed-off-by: Andriy Redko <[email protected]>
…nsearch-project#335) Signed-off-by: dblock <[email protected]> Signed-off-by: dblock <[email protected]> (cherry picked from commit 6096034)
Signed-off-by: dblock <[email protected]> Signed-off-by: dblock <[email protected]> (cherry picked from commit 8c6bac4) Co-authored-by: Daniel (dB.) Doubrovkine <[email protected]>
Signed-off-by: Vacha Shah <[email protected]> Signed-off-by: Vacha Shah <[email protected]>
…opensearch-project#332) Signed-off-by: dblock <[email protected]> (cherry picked from commit 37d4800) Co-authored-by: Daniel (dB.) Doubrovkine <[email protected]>
…oject#339) (opensearch-project#344) * Adding X-Amz-Content-Sha256 header for signed requests Signed-off-by: Vacha Shah <[email protected]> * Adding CHANGELOG entry Signed-off-by: Vacha Shah <[email protected]> * Adding documentation comment Signed-off-by: Vacha Shah <[email protected]> * Adding tests Signed-off-by: Vacha Shah <[email protected]> * Addressing comments Signed-off-by: Vacha Shah <[email protected]> * Addressing comments Signed-off-by: Vacha Shah <[email protected]> * Removing refresh policy for integ tests for Sigv4 Signed-off-by: Vacha Shah <[email protected]> * Updating the developer guide Signed-off-by: Vacha Shah <[email protected]> Signed-off-by: Vacha Shah <[email protected]> Signed-off-by: Vacha Shah <[email protected]>
…project#321) (opensearch-project#345) * Add release workflows Signed-off-by: Sayali Gaikawad <[email protected]> (cherry picked from commit c171531)
Signed-off-by: Sayali Gaikawad <[email protected]> Signed-off-by: Sayali Gaikawad <[email protected]>
…pensearch-project#347) (opensearch-project#350) * Fix issue with completion suggester being parsed as term suggester. This commit fixes the issue where a completion suggester search request was being parsed as a term suggester and failing due to "Missing required property 'TermSuggestOption.score'" This solution was originally proposed by Github user @apatrida Signed-off-by: Dan Hart <[email protected]> * Remove commented code Signed-off-by: Dan Hart <[email protected]> * Fix format of changelog item Signed-off-by: Dan Hart <[email protected]> Signed-off-by: Dan Hart <[email protected]> (cherry picked from commit 013d8d7) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Signed-off-by: Dan Hart <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: Benoit Tellier <[email protected]> Signed-off-by: Benoit Tellier <[email protected]>
…pensearch-project#358) * Bulk UpdateOperation misses upsert options * Fix formatting --------- (cherry picked from commit fbef578) Signed-off-by: Andriy Redko <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…rch-project#359) Signed-off-by: Andriy Redko <[email protected]>
…pensearch-project#368) * Upgrading compatibility to opensearch 2.5 * latest 2.4 version * keep existing compatibility matrix rows, this pr adds a new row for versions of opensearch after 2.3.0 --------- (cherry picked from commit a924a74) Signed-off-by: amitai stern <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
) * Feature/range aggregation fix 369 (opensearch-project#370) * test: create integration tests for date_range and range aggregation (opensearch-project#369) Signed-off-by: Dominik Szczepanczyk <[email protected]> * fix: add a missing key propery to the RangeBucket (opensearch-project#369) Signed-off-by: Dominik Szczepanczyk <[email protected]> * docs: add CHANGELOG entry (opensearch-project#369) Signed-off-by: Dominik Szczepanczyk <[email protected]> --------- Signed-off-by: Dominik Szczepanczyk <[email protected]> (cherry picked from commit 99d0e6a) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Fixing compile errors Signed-off-by: Vacha Shah <[email protected]> --------- Signed-off-by: Dominik Szczepanczyk <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Signed-off-by: Vacha Shah <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Vacha Shah <[email protected]>
…ct#386) * Refactor two-client usage. * Avoid double-closing the client on cleanup. * Refactor constructors to take sync/async explicitly. * Corrected comments and cleaned up variable naming. (cherry picked from commit a0ca15c) Signed-off-by: dblock <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…pensearch-project#384) (cherry picked from commit 75c5e59) Signed-off-by: Vacha Shah <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…ensearch-project#385) (opensearch-project#393) (cherry picked from commit b61467d) Signed-off-by: Vacha Shah <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
(cherry picked from commit 9b9ec00) Signed-off-by: Andriy Redko <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: Vacha Shah <[email protected]>
…arch-project#394) Signed-off-by: Sayali Gaikawad <[email protected]> Signed-off-by: Vacha Shah <[email protected]> Co-authored-by: Sayali Gaikawad <[email protected]>
…opensearch-project#400) (cherry picked from commit 4c2d39d) Signed-off-by: Ilya Lukyanovich <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Increment client version to 2.3.0 Signed-off-by: Vacha Shah <[email protected]> * Update COMPATIBILITY.md Co-authored-by: Andriy Redko <[email protected]> Signed-off-by: Vacha Shah <[email protected]> --------- Signed-off-by: Vacha Shah <[email protected]> Co-authored-by: Daniel (dB.) Doubrovkine <[email protected]> Co-authored-by: Andriy Redko <[email protected]>
…-client (opensearch-project#403) (opensearch-project#408) * Bump io.github.classgraph:classgraph in /java-client Bumps [io.github.classgraph:classgraph](https://github.com/classgraph/classgraph) from 4.8.156 to 4.8.157. - [Release notes](https://github.com/classgraph/classgraph/releases) - [Commits](classgraph/classgraph@classgraph-4.8.156...classgraph-4.8.157) --- updated-dependencies: - dependency-name: io.github.classgraph:classgraph dependency-type: direct:production update-type: version-update:semver-patch ... * Update changelog --------- (cherry picked from commit 5c444d2) Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Andriy Redko <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
…ch-project#410) (cherry picked from commit aaeb185) Signed-off-by: luneo7 <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: Andriy Redko <[email protected]> (cherry picked from commit 5b1e295)
…ensearch-project#698) (opensearch-project#699) * Making Hit.id nullable when storedFields is none * Adding test to cover storedFields none and replacing deprecated assertThat * Adding changelog * spotlessApply --------- (cherry picked from commit 9baf752) Signed-off-by: Vacha Shah <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: GitHub <[email protected]> Co-authored-by: VachaShah <[email protected]>
…rch-project#704) * Updating CHANGELOG for next release * Change to date --------- Signed-off-by: Vacha Shah <[email protected]>
…checks (opensearch-project#705) (opensearch-project#707) (cherry picked from commit b34b8d5) Signed-off-by: Andriy Redko <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…ct#709) (opensearch-project#714) * Fixing partial success results for msearch template * Adding changelog * Spotless apply --------- Signed-off-by: Vacha Shah <[email protected]>
…rch-project#717) (opensearch-project#718) (cherry picked from commit 87613f3) Signed-off-by: Andriy Redko <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
) (opensearch-project#728) * add icu collation keyword * add licensing * update changelog * update changelog pr * add support for icu collation options --------- (cherry picked from commit d8d7a3a) Signed-off-by: bfindlay <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
) (opensearch-project#729) Signed-off-by: Andriy Redko <[email protected]>
…ject#739) * add flat object support * add flat object support * update changelog * update flatobject and user guides * fix typo * remove unused comments --------- (cherry picked from commit a4dc4f0) Signed-off-by: bfindlay <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…ch-project#745) (opensearch-project#751) * fix stats null issues * update changelog * updated changelog * use existing nodes itest * fix test typo * update itests * spotless apply --------- (cherry picked from commit 261cab4) Signed-off-by: bfindlay <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…roject#759) this allows accessing the HTTP status code of the response when an API returns a `ResponseException`. this was not possible through `getResponse` since `Response` itself is package-private and thus its members (even though they are marked as `public`) are not accessible to external consumers. solves opensearch-project#749 Signed-off-by: Ralph Ursprung <[email protected]> (cherry picked from commit 863518c)
…pensearch-project#764) (cherry picked from commit 1725fc9) Signed-off-by: Vacha Shah <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…pensearch-project#768) * Fix PutIndexTemplateRequest deserialization Signed-off-by: Matthew Bogner <[email protected]> * CHANGELOG.md Signed-off-by: Matthew Bogner <[email protected]> * spotless Signed-off-by: Matthew Bogner <[email protected]> --------- Signed-off-by: Matthew Bogner <[email protected]> (cherry picked from commit d4aade4)
) (opensearch-project#776) * Bump com.diffplug.spotless from 6.23.0 to 6.23.3 Bumps com.diffplug.spotless from 6.23.0 to 6.23.3. --- updated-dependencies: - dependency-name: com.diffplug.spotless dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Update changelog Signed-off-by: dependabot[bot] <[email protected]> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com> (cherry picked from commit c7b212b) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…in /java-client (opensearch-project#791) (opensearch-project#793) * Bump org.apache.httpcomponents.client5:httpclient5 in /java-client Bumps [org.apache.httpcomponents.client5:httpclient5](https://github.com/apache/httpcomponents-client) from 5.2.3 to 5.3. - [Changelog](https://github.com/apache/httpcomponents-client/blob/master/RELEASE_NOTES.txt) - [Commits](apache/httpcomponents-client@rel/v5.2.3...rel/v5.3) --- updated-dependencies: - dependency-name: org.apache.httpcomponents.client5:httpclient5 dependency-type: direct:production update-type: version-update:semver-minor ... * Update changelog --------- (cherry picked from commit 0a8a3b4) Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Andriy Redko <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
…pensearch-project#777) * Restore support for Java 8 (opensearch-project#767) * Restore support for Java 8 Signed-off-by: Andriy Redko <[email protected]> * Address code review comments (update compatibility) Signed-off-by: Andriy Redko <[email protected]> --------- Signed-off-by: Andriy Redko <[email protected]> (cherry picked from commit ff5e0a2) * Update build.gradle.kts to use OpenSearch 2.12.0-SNAPSHOT Signed-off-by: Andriy Redko <[email protected]> --------- Signed-off-by: Andriy Redko <[email protected]>
…pensearch-project#781) (opensearch-project#794) * dummy CHANGELOG.md * corrected the InnerHits storedFields json field name to "stored_fields" * adding correct PR information to CHANGELOG.md * ran ./gradlew :java-client:spotlessApply --------- (cherry picked from commit 0729a92) Signed-off-by: brentam <[email protected]> Signed-off-by: Andriy Redko <[email protected]> Co-authored-by: brentam <[email protected]>
…ect#766) (opensearch-project#797) * add toBuilder method on some models (opensearch-project#766) * 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]> * removed not related test code Signed-off-by: channel-dante <[email protected]> --------- Signed-off-by: channel-dante <[email protected]>
…ct#767) (opensearch-project#777)" (opensearch-project#800) This reverts commit 081a17e. Signed-off-by: Andriy Redko <[email protected]>
…roject#801) * rename _toQuery() to toQuery() * update CHANGELOG.md * update CHANGELOG.md --------- (cherry picked from commit b50fdb8) Signed-off-by: channel-dante <[email protected]>
…t#803) (opensearch-project#805) * Bump org.owasp.dependencycheck from 9.0.7 to 9.0.8 Bumps org.owasp.dependencycheck from 9.0.7 to 9.0.8. --- updated-dependencies: - dependency-name: org.owasp.dependencycheck dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Update changelog Signed-off-by: dependabot[bot] <[email protected]> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com> (cherry picked from commit 1a5fc11) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
) (opensearch-project#810) * Bump com.diffplug.spotless from 6.23.3 to 6.24.0 Bumps com.diffplug.spotless from 6.23.3 to 6.24.0. --- updated-dependencies: - dependency-name: com.diffplug.spotless dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Update changelog Signed-off-by: dependabot[bot] <[email protected]> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com> (cherry picked from commit 955ee71) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…h-project#812) (opensearch-project#813) * Removing unsupported prefix field from CompletionSuggester * Add Changelog --------- (cherry picked from commit d83a2e8) Signed-off-by: Vacha Shah <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…search-project#815) * Adding OpenSearch 2.11.0 to the matrix * Updating version --------- (cherry picked from commit 4647583) Signed-off-by: Vacha Shah <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: Urs Keller <[email protected]> Co-authored-by: Urs Keller <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
httpcomponents
dependencies. (Updatehttpcomponents
dependencies. opensearch-project/opensearch-java#554) (Updatehttpcomponents
dependencies. (#554) opensearch-project/opensearch-java#560)MultiSearchItem.status
optional (MakeMultiSearchItem.status
optional opensearch-project/opensearch-java#660) ([Backport 2.x] MakeMultiSearchItem.status
optional (#660) opensearch-project/opensearch-java#662)ResponseException#status
(addResponseException#status
opensearch-project/opensearch-java#756) (addResponseException#status
(#756) opensearch-project/opensearch-java#759)