-
Notifications
You must be signed in to change notification settings - Fork 24.8k
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
Make EQL REST Querying API async #49638
Labels
Comments
Pinging @elastic/es-search (:Search/EQL) |
imotov
added a commit
to imotov/elasticsearch
that referenced
this issue
Apr 1, 2020
First step towards async search execution. At the moment we don't try to cancel the underlying search requests, and just check if the task is canceled before performing network operation (such as field caps and search) Relates to elastic#49638
imotov
added a commit
that referenced
this issue
Apr 6, 2020
First step towards async search execution. At the moment we don't try to cancel the underlying search requests, and just check if the task is canceled before performing network operation (such as field caps and search) Relates to #49638
imotov
added a commit
to imotov/elasticsearch
that referenced
this issue
Apr 6, 2020
First step towards async search execution. At the moment we don't try to cancel the underlying search requests, and just check if the task is canceled before performing network operation (such as field caps and search) Relates to elastic#49638
imotov
added a commit
that referenced
this issue
Apr 6, 2020
First step towards async search execution. At the moment we don't try to cancel the underlying search requests, and just check if the task is canceled before performing network operation (such as field caps and search) Relates to #49638
imotov
added a commit
to imotov/elasticsearch
that referenced
this issue
Apr 6, 2020
EQL search cancellation now propagates cancellation to underlying search operations. Relates to elastic#49638
imotov
added a commit
that referenced
this issue
Apr 10, 2020
EQL search cancellation now propagates cancellation to underlying search operations. Relates to #49638
imotov
added a commit
to imotov/elasticsearch
that referenced
this issue
Apr 10, 2020
EQL search cancellation now propagates cancellation to underlying search operations. Relates to elastic#49638
imotov
added a commit
to imotov/elasticsearch
that referenced
this issue
Apr 13, 2020
EQL will require very similar functionality to async search. This PR refactors AsyncSearchIndexService to make it reusable for EQL. Relates to elastic#49638
imotov
added a commit
that referenced
this issue
Apr 14, 2020
EQL search cancellation now propagates cancellation to underlying search operations. Relates to #49638
imotov
added a commit
to imotov/elasticsearch
that referenced
this issue
Apr 22, 2020
EQL will require very similar functionality to async search. This PR refactors AsyncSearchIndexService to make it reusable for EQL. Supersedes elastic#55119 Relates to elastic#49638
imotov
added a commit
that referenced
this issue
Apr 23, 2020
imotov
added a commit
to imotov/elasticsearch
that referenced
this issue
Apr 23, 2020
EQL will require very similar functionality to async search. This PR refactors AsyncSearchIndexService to make it reusable for EQL. Supersedes elastic#55119 Relates to elastic#49638
imotov
added a commit
that referenced
this issue
Apr 23, 2020
imotov
added a commit
to imotov/elasticsearch
that referenced
this issue
May 4, 2020
Adds support for async searches to eql search API. This commit is limited to only submitting search API requests and doesn't provide APIs to get results nor delete the results. These functions will be added in follow up PRs. Relates to elastic#49638
imotov
added a commit
to imotov/elasticsearch
that referenced
this issue
May 12, 2020
Adds support for async searches to eql search API. This commit is limited to only submitting search API requests and doesn't provide APIs to get results nor delete the results. These functions will be added in follow up PRs. Relates to elastic#49638
imotov
added a commit
that referenced
this issue
May 13, 2020
Adds support for async searches to eql search API. This commit is limited to only submitting search API requests and doesn't provide APIs to get results nor delete the results. These functions will be added in follow up PRs. Relates to #49638
imotov
added a commit
to imotov/elasticsearch
that referenced
this issue
May 13, 2020
Switches to RestCancellableNodeClient wrapper for eql search operation in order to detect clients closing the connection and cancelling the operation. Relates to elastic#49638
imotov
added a commit
that referenced
this issue
May 14, 2020
Switches to RestCancellableNodeClient wrapper for eql search operation in order to detect clients closing the connection and cancelling the operation. Relates to #49638
imotov
added a commit
to imotov/elasticsearch
that referenced
this issue
May 15, 2020
Adds support for retrieving async EQL search result s to eql search API. Relates to elastic#49638
imotov
added a commit
that referenced
this issue
May 27, 2020
Adds support for retrieving async EQL search result s to eql search API. Relates to #49638
imotov
added a commit
to imotov/elasticsearch
that referenced
this issue
May 27, 2020
Adds support for deleting async EQL search results to eql search API. Relates to elastic#49638
imotov
added a commit
that referenced
this issue
Jun 4, 2020
Adds support for deleting async EQL search results to EQL search API. Relates to #49638
imotov
added a commit
to imotov/elasticsearch
that referenced
this issue
Jun 4, 2020
The async task task maintenance service is used by both async search plugin as well as EQL plugin. So it needs to reside in the core. Relates to elastic#49638
imotov
added a commit
that referenced
this issue
Jun 11, 2020
The async task task maintenance service is used by both async search plugin as well as EQL plugin. So it needs to reside in the core. Relates to #49638
imotov
added a commit
to imotov/elasticsearch
that referenced
this issue
Jun 16, 2020
Adds async support to EQL searches Closes elastic#49638 Co-authored-by: James Rodewig <james.rodewig@elastic.co>
imotov
added a commit
that referenced
this issue
Jun 25, 2020
) Adds async support to EQL searches Closes #49638 Co-authored-by: James Rodewig james.rodewig@elastic.co
18 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Once we have the EQL REST Endpoint created from #49634 we should explore making the API asynchronous.
Since EQL queries will require multiple underlying search requests and may need to search through lots of data the queries could take a long time to execute. To give a better user experience it would be good if the query can be executed asynchronously with the user able to request progress and retrieve the final results when they are available.
We already have development underway on adding an asynchronous search API (#49091) so the user experience we add here should be as similar to that as practical so we have consistency in the approaches. The reason we can't just piggyback on the async search API is that the EQL plugin will need to run extra logic on top of the search API, which will require it to have its own async mechanism.
The text was updated successfully, but these errors were encountered: