Skip to content
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 missing version and timeout #161

Closed
prafsoni opened this issue Feb 16, 2022 · 3 comments · Fixed by #292
Closed

msearch missing version and timeout #161

prafsoni opened this issue Feb 16, 2022 · 3 comments · Fixed by #292
Labels
Area: Specification Related to the API spec used to generate client code

Comments

@prafsoni
Copy link

prafsoni commented Feb 16, 2022

We could do

POST test_index/_msearch
{}
{ "version": true, "query": { "match_all": {} } , "timeout": "10s"}

But the client doesn't allow to set flag version: true and timeout in msearch request body making in impossible to get version for hits in response

elasticsearch-java version: 7.17.0

@prafsoni prafsoni changed the title msearch missing version msearch missing version and timeout Feb 16, 2022
@sothawo
Copy link
Contributor

sothawo commented Mar 22, 2022

+1 for the version parameter, seq_no_primary_term cannot be set either

@swallez
Copy link
Member

swallez commented May 24, 2022

This has been fixed in PR #292, backported to version 8.2 in PR #293 and to version 7.17 in PR #294.

@sothawo
Copy link
Contributor

sothawo commented Jun 1, 2022

I find this now in 8.2.2 but not in the 7.17.4. Will that be in 7.17.5 then?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Specification Related to the API spec used to generate client code
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants