-
Notifications
You must be signed in to change notification settings - Fork 190
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
Fixes #553: fix max_analyzer_offset field to match OS 2.2.0 #555
Fixes #553: fix max_analyzer_offset field to match OS 2.2.0 #555
Conversation
@schmittjoaopedro thank you for the fix, could you please address DOC check? See please https://github.com/opensearch-project/opensearch-java/blob/main/CONTRIBUTING.md#developer-certificate-of-origin |
Hello @reta Am I missing something else? |
Besides that, do you think it makes sense to backport this fix to older versions of the client? Maybe down to version 2.2.X? |
… name to match with the one introduced in OpenSearch 2.2.0 Signed-off-by: Joao Schmitt <[email protected]>
8e14a96
to
7ac8f51
Compare
Got that, I had to remove the |
Yes, this is usually automatic process |
Signed-off-by: Joao Schmitt <[email protected]>
@reta and @szczepanczykd do you think it's possible to backport this change still this week? |
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/backport-2.x
# Create a new branch
git switch --create backport/backport-555-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 afcb5a549ccc719dc37b6aa2012607e7730e96fd
# Push it to GitHub
git push --set-upstream origin backport/backport-555-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/backport-2.x Then, create a pull request where the |
Hi @schmittjoaopedro :) As You see, there are some conflicts, could You please do backport by Yourself? (checkout to 2.x, cherry pick, resolve conflicts and create a new PR to 2.x branch) |
Hi @szczepanczykd @reta |
Fix field
max_analyzed_offset
tomax_analyzer_offset
Description
The current field
max_analyzed_offset
used in ElasticSearch doesn't match the field added to OpenSearch version 2.2.0,max_analyzer_offset
.This means the current client implementation have two problems:
For further information see:
Issues Resolved
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.