-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Modify search request to incorporate query refactoring #13556
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
Modify search request to incorporate query refactoring #13556
Conversation
/** | ||
* An optional timeout to control how long search is allowed to take. | ||
*/ | ||
public NewSearchSourceBuilder timeout(String timeout) { |
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 wonder if we should just drop this and push this to the caller instead?
I left a bunch of inline comments but this looks awesome! |
@s1monw thanks for the review. I have push an update although this is far from finished. I also left a few replies to your comments. Next I'll write a unit test for this class to ensure its serialising and deserialising to/from JSON and the transport layer correctly and then I'll set to work plugging this into the search action |
this looks pretty neat dude! |
@s1monw @javanna I pushed some more commits to this. It should now compile and the tests should pass but there is quite a bit more work to be done:
|
@colings86 can you push it to a public branch so we can all work on it? |
…urceBuilder to SearchSourceBuilder
@s1monw pushed a public branch here: https://github.com/elastic/elasticsearch/tree/feature/search-request-refactoring |
This has been superseded by #13752 |
No description provided.