返回n条数据 curl -XGET 'host_name/index_name/_search?pretty' -d' { "query": { "match_all": {} }, "size": }' 返回记录数(count)