Search
Search V1
Changed onpost/api/{index}/_search
Request
- Base URLhttp://localhost:4080
- URLhttp://localhost:4080/api/{index}/_search
- AuthHTTP basic
Path parameters
indexstring required
Index
Request body
Response
OK
Example response
{
"_shards": {
"total": 5,
"failed": 0,
"skipped": 6,
"successful": 1
},
"hits": {
"hits": [
{
"highlight": "{}",
"@timestamp": "@timestamp",
"_index": "_index",
"_type": "_type",
"_source": "{}",
"_id": "_id",
"_score": 5.637376656633329,
"fields": "{}"
},
{
"highlight": "{}",
"@timestamp": "@timestamp",
"_index": "_index",
"_type": "_type",
"_source": "{}",
"_id": "_id",
"_score": 5.637376656633329,
"fields": "{}"
}
],
"total": {
"value": 7
},
"max_score": 2.3021358869347655
},
"took": 9,
"timed_out": true,
"error": "error",
"aggregations": {
"key": {
"buckets": "{}",
"interval": "interval",
"value": "{}"
}
}
}Changes
- breaking
the
//response's property type changed fromarraytoobjectfor status - info
added the optional property
to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
///to the response with the status
- breaking
- breaking
the
/request property type changed fromarraytoobject - warning
removed the request property
/ - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the optional property
///to the response with the status
- breaking