Support multi-search (_msearch) #61
chrispappas
started this conversation in
Ideas
Replies: 1 comment
-
PR is up for this feature: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Elasticsearch supports a
_msearch
API, which allows you to send multiple queries with one request.https://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html
The request body looks like an ES bulk index request, with a header and body line for each request.
The response JSON includes a top-level
responses
key with an array of sub-response objects:Since this library doesn't handle the response, all it would need to do is support building an array of requests and running it via the
_msearch
API.If this has not been implemented yet, I'd like to take a crack at it with a MR when I can get to it. Of course, if the project is not interested in such a feature, I won't spend the time on it.
Beta Was this translation helpful? Give feedback.
All reactions