-
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
Add SearchRequest deep cocpy functionality #1338
Conversation
Signed-off-by: Daichi Nuki <[email protected]>
Can one of the admins verify this patch? |
✅ DCO Check Passed 67b8f8e |
✅ Gradle Wrapper Validation success 67b8f8e |
✅ Gradle Precommit success 67b8f8e |
✅ DCO Check Passed 67b8f8e |
✅ Gradle Precommit success 67b8f8e |
✅ DCO Check Passed 67b8f8e |
✅ Gradle Wrapper Validation success 67b8f8e |
1 similar comment
✅ Gradle Wrapper Validation success 67b8f8e |
✅ DCO Check Passed 67b8f8e |
✅ Gradle Wrapper Validation success 67b8f8e |
1 similar comment
✅ Gradle Wrapper Validation success 67b8f8e |
✅ Gradle Precommit success 67b8f8e |
3 similar comments
✅ Gradle Precommit success 67b8f8e |
✅ Gradle Precommit success 67b8f8e |
✅ Gradle Precommit success 67b8f8e |
✅ DCO Check Passed 67b8f8e |
✅ Gradle Wrapper Validation success 67b8f8e |
✅ DCO Check Passed 67b8f8e |
✅ Gradle Precommit success 67b8f8e |
✅ Gradle Wrapper Validation success 67b8f8e |
✅ DCO Check Passed 67b8f8e |
✅ Gradle Precommit success 67b8f8e |
✅ DCO Check Passed 67b8f8e |
✅ Gradle Precommit success 67b8f8e |
✅ Gradle Wrapper Validation success 67b8f8e |
✅ DCO Check Passed 67b8f8e |
1 similar comment
✅ DCO Check Passed 67b8f8e |
✅ Gradle Precommit success 67b8f8e |
✅ Gradle Precommit success 67b8f8e |
✅ DCO Check Passed 67b8f8e |
✅ Gradle Wrapper Validation success 67b8f8e |
✅ DCO Check Passed 67b8f8e |
✅ Gradle Wrapper Validation success 67b8f8e |
1 similar comment
✅ Gradle Wrapper Validation success 67b8f8e |
✅ Gradle Precommit success 67b8f8e |
1 similar comment
✅ Gradle Precommit success 67b8f8e |
✅ DCO Check Passed 67b8f8e |
1 similar comment
✅ DCO Check Passed 67b8f8e |
✅ Gradle Wrapper Validation success 67b8f8e |
1 similar comment
✅ Gradle Wrapper Validation success 67b8f8e |
✅ Gradle Precommit success 67b8f8e |
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.
I think you should add a copy constructor that performs a deep copy rather than adding a new deepCopy
method, that feels more idiomatic, doesn't it?
Thanks @Da-1kun does
Alternatively you could do a SearchRequest#clone and use corresponding setters for indices and types to set a clone of those types? I noted the copy ctor is already taken to do a shallow copy. That might need to be overloaded |
✅ Gradle Wrapper Validation success 67b8f8e |
✅ DCO Check Passed 67b8f8e |
✅ Gradle Precommit success 67b8f8e |
@Da-1kun Did you not want to move forward with this? |
Signed-off-by: Daichi Nuki [email protected]
Description
Add SearchRequest deep cocpy functionality
Issues Resolved
[List any issues this PR will resolve]
Deep copy for QueryBuilder/SearchRequest #869
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.