Skip to content

Conversation

@pquentin
Copy link
Member

keep_alive is an optional parameter:

openRequest.keepAlive(TimeValue.parseTimeValue(request.param("keep_alive"), null, "keep_alive"));

@pquentin pquentin added >non-issue auto-backport Automatically create backport pull requests when merged :Search Foundations/Search Catch all for Search Foundations v8.18.1 v8.19.0 v9.0.1 v9.1.0 labels Mar 18, 2025
@elasticsearchmachine elasticsearchmachine added the Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch label Mar 18, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-search-foundations (Team:Search Foundations)

@mayya-sharipova
Copy link
Contributor

mayya-sharipova commented Mar 26, 2025

keep_alive is a required parameter, and null value will not pass validation.

I guess null is passed into TimeValue.parseTimeValue function because this funciton requires a supply of default value.

@pquentin
Copy link
Member Author

Sorry for the noise! Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Automatically create backport pull requests when merged >non-issue :Search Foundations/Search Catch all for Search Foundations Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants