2013-05-27 17:35:57 -04:00
|
|
|
{
|
2013-05-28 04:49:18 -04:00
|
|
|
"msearch": {
|
2015-03-24 12:03:35 -04:00
|
|
|
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html",
|
2013-05-27 17:35:57 -04:00
|
|
|
"methods": ["GET", "POST"],
|
|
|
|
"url": {
|
|
|
|
"path": "/_msearch",
|
|
|
|
"paths": ["/_msearch", "/{index}/_msearch", "/{index}/{type}/_msearch"],
|
|
|
|
"parts": {
|
|
|
|
"index": {
|
|
|
|
"type" : "list",
|
|
|
|
"description" : "A comma-separated list of index names to use as default"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type" : "list",
|
|
|
|
"description" : "A comma-separated list of document types to use as default"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"params": {
|
|
|
|
"search_type": {
|
|
|
|
"type" : "enum",
|
|
|
|
"options" : ["query_then_fetch", "query_and_fetch", "dfs_query_then_fetch", "dfs_query_and_fetch", "count", "scan"],
|
|
|
|
"description" : "Search operation type"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"body": {
|
2013-06-21 16:35:25 -04:00
|
|
|
"description": "The request definitions (metadata-search request definition pairs), separated by newlines",
|
2014-01-21 10:31:41 -05:00
|
|
|
"required" : true,
|
|
|
|
"serialize" : "bulk"
|
2013-05-27 17:35:57 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|