Wednesday 7 October 2015

Elasticsearch: Specifying time out for search query


Meta field “timed_out” specifies whether query timed out or not. By default there is no time out for search queries. If you want to specify timeout for your search query, you can specify it in query parameter like below.

GET /_search?timeout=10ms

For example
GET /xyz/_search?timeout=10ms



Prevoius                                                 Next                                                 Home

No comments:

Post a Comment