Expects a query in json format and sets the query of the search request.
Expects a query in json format and sets the query of the search request. Query must be valid json beginning with '{' and ending with '}'. Field names must be double quoted.
Example:
search in "*" types("users", "tweets") limit 5 rawQuery { """{ "prefix": { "bands": { "prefix": "coldplay", "boost": 5.0, "rewrite": "yes" } } }""" } searchType SearchType.Scan
The maximum count for each shard, upon reaching which the query execution will terminate early.
The maximum count for each shard, upon reaching which the query execution will terminate early. If set, the response will have a boolean field terminated_early to indicate whether the query execution has actually terminated_early. Defaults to no terminate_after.