-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Java high-level REST client bulk() is not respecting the bulkRequest.requireAlias(true) method call #14146
Conversation
…ng requireAlias flag Signed-off-by: Parv Kapadia <[email protected]>
Signed-off-by: Parv Kapadia <[email protected]>
Signed-off-by: Parv Kapadia <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. Since we're deprecating this stuff in favor of opensearch-java, and if you have time, check that requireAlias
is properly implemented in https://github.com/opensearch-project/opensearch-api-specification and https://github.com/opensearch-project/opensearch-java pls.
client/rest-high-level/src/main/java/org/opensearch/client/RequestConverters.java
Show resolved
Hide resolved
❌ Gradle check result for 4828958: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
client/rest-high-level/src/main/java/org/opensearch/client/RequestConverters.java
Show resolved
Hide resolved
org.opensearch.action.admin.indices.create.RemoteSplitIndexIT.classMethod |
The backport to
To backport manually, run these commands in your terminal: # Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/OpenSearch/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/OpenSearch/backport-2.x
# Create a new branch
git switch --create backport/backport-14146-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 40f11b3291f9f6ccf6ecfceb61ac1f5694f5867a
# Push it to GitHub
git push --set-upstream origin backport/backport-14146-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/OpenSearch/backport-2.x Then, create a pull request where the |
@parv0201 could you please send manual backport pull request towards |
…requireAlias(true) method call (opensearch-project#14146) * Issue 12958 | Updated bulk api for Rest HighLevel Client for respecting requireAlias flag Signed-off-by: Parv Kapadia <[email protected]> * Issue 12958 | Updated changelog Signed-off-by: Parv Kapadia <[email protected]> * Updated changelog with correct PR number Signed-off-by: Parv Kapadia <[email protected]> --------- Signed-off-by: Parv Kapadia <[email protected]> (cherry picked from commit 40f11b3)
…requireAlias(true) method call (opensearch-project#14146) * Issue 12958 | Updated bulk api for Rest HighLevel Client for respecting requireAlias flag Signed-off-by: Parv Kapadia <[email protected]> * Issue 12958 | Updated changelog Signed-off-by: Parv Kapadia <[email protected]> * Updated changelog with correct PR number Signed-off-by: Parv Kapadia <[email protected]> --------- Signed-off-by: Parv Kapadia <[email protected]> (cherry picked from commit 40f11b3) Signed-off-by: Andriy Redko <[email protected]>
…requireAlias(true) method call (opensearch-project#14146) * Issue 12958 | Updated bulk api for Rest HighLevel Client for respecting requireAlias flag Signed-off-by: Parv Kapadia <[email protected]> * Issue 12958 | Updated changelog Signed-off-by: Parv Kapadia <[email protected]> * Updated changelog with correct PR number Signed-off-by: Parv Kapadia <[email protected]> --------- Signed-off-by: Parv Kapadia <[email protected]> (cherry picked from commit 40f11b3) Signed-off-by: Andriy Redko <[email protected]>
…requireAlias(true) method call (#14146) (#14184) * Issue 12958 | Updated bulk api for Rest HighLevel Client for respecting requireAlias flag * Issue 12958 | Updated changelog * Updated changelog with correct PR number --------- (cherry picked from commit 40f11b3) Signed-off-by: Parv Kapadia <[email protected]> Signed-off-by: Andriy Redko <[email protected]> Co-authored-by: parv0201 <[email protected]>
…requireAlias(true) method call (opensearch-project#14146) (opensearch-project#14184) * Issue 12958 | Updated bulk api for Rest HighLevel Client for respecting requireAlias flag * Issue 12958 | Updated changelog * Updated changelog with correct PR number --------- (cherry picked from commit 40f11b3) Signed-off-by: Parv Kapadia <[email protected]> Signed-off-by: Andriy Redko <[email protected]> Co-authored-by: parv0201 <[email protected]> Signed-off-by: kkewwei <[email protected]>
…requireAlias(true) method call (opensearch-project#14146) * Issue 12958 | Updated bulk api for Rest HighLevel Client for respecting requireAlias flag Signed-off-by: Parv Kapadia <[email protected]> * Issue 12958 | Updated changelog Signed-off-by: Parv Kapadia <[email protected]> * Updated changelog with correct PR number Signed-off-by: Parv Kapadia <[email protected]> --------- Signed-off-by: Parv Kapadia <[email protected]>
Description
Java high-level REST client bulk() is not respecting the bulkRequest.requireAlias(true) method call
Related Issues
Resolves #12958
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.