-
Notifications
You must be signed in to change notification settings - Fork 49
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
Fix for #375 - Added .Strict(bool)
and .Verbatim(bool)
methods on…
#509
Conversation
6ba315a
to
fb53012
Compare
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.
Hi @DumboJetEngine,
Apologies for taking a bit to getting to review this.
I've added a few comments with my thoughts.
src/OpenSearch.Client/QueryDsl/Abstractions/Container/QueryContainer-Dsl.cs
Show resolved
Hide resolved
src/OpenSearch.Client/QueryDsl/Abstractions/Container/QueryContainer-Dsl.cs
Show resolved
Hide resolved
src/OpenSearch.Client/QueryDsl/Visitor/QueryNodeModifierVisitor.cs
Outdated
Show resolved
Hide resolved
src/OpenSearch.Client/QueryDsl/Abstractions/Container/QueryContainer-Dsl.cs
Outdated
Show resolved
Hide resolved
src/OpenSearch.Client/QueryDsl/Abstractions/Container/QueryContainer-Dsl.cs
Outdated
Show resolved
Hide resolved
src/OpenSearch.Client/QueryDsl/Abstractions/Container/QueryContainer-Dsl.cs
Outdated
Show resolved
Hide resolved
1636310
to
478d7e8
Compare
…ods on `QueryContainer` to help modify contained query attributes. (opensearch-project#375) Signed-off-by: Kostas <[email protected]>
41ef3c1
to
6510ccb
Compare
Thanks @DumboJetEngine! |
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-1.x 1.x
# Navigate to the new working tree
cd .worktrees/backport-1.x
# Create a new branch
git switch --create backport/backport-509-to-1.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 e4f715e23cddceaf1268b06a48a1ffbc5fc3ffde
# Push it to GitHub
git push --set-upstream origin backport/backport-509-to-1.x
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-1.x Then, create a pull request where the |
…yContainer` to help modify contained query attributes. (opensearch-project#375) (opensearch-project#509) Signed-off-by: Kostas <[email protected]> (cherry picked from commit e4f715e)
…yContainer` to help modify contained query attributes. (#375) (#509) (#539) Signed-off-by: Kostas <[email protected]> (cherry picked from commit e4f715e) Co-authored-by: DumboJetEngine <[email protected]>
Description
Fix for #375 - Added
.Strict(bool)
and.Verbatim(bool)
methods onQueryContainer
that recursively apply the respective attribute to all subqueries. Also added a.Name(string)
method onQueryContainer
that names the (root) contained query.Issues Resolved
#375
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.