-
Notifications
You must be signed in to change notification settings - Fork 369
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
_msearch
support when logging features
#305
Comments
That's an interesting idea. What makes you this is would be faster? It'd be cool to test, switching out the underlying function from |
To make this show this problem better, could you show what it would look like in Elasticsearch's REST commands (to separate it from the repo code)? e.g. a series of |
More of note to myself, using |
@nathancday yeah, sorry I didn't go into more explanation. Given Given logging features depends on iterating through hopefully massive qrel files, speeding up this operation is helpful. I have done the equivalent at the python level, but my guess is I can try to provide a benchmark if that would help motivate this. My rough sketch of the process is that qrels are then turned into queries and chunked up to push through as normal:
Again to be clear I'd just use the python msearch support directly on these files. :) |
I agree the change to I've used I do like your sketched workflow and msearch_template looks like the right tool to use. Would love to migrate this to a (in-progress) PR, I'm happy to help with be.ch marking around |
Howdy! When logging features it sure would be faster to get to use the
msearch
api, though what's documented in the examples is just search. When trying to use that, hit:The text was updated successfully, but these errors were encountered: