I am using elastic search 5.3 and for that, I used jest client 2.0.4.
I have the use case to provide soft timeout while executing search query I provide that in
SearchSourceBuilder searchSourceBuilder = SearchSourceBuilder.searchSource().from(10).size(100).timeout(100).build;
But I am getting the following exception
Caused by: ElasticsearchException[Error while executing the query: {"root_cause":[{"type":"parse_exception", "reason":"failed to parse setting [timeout] with value [600] as a time value: unit is missing or unrecognized"}],"type":"parse_exception","reason":"failed to parse setting [timeout] with value [600] as a time value: unit is missing or unrecognized"}]