Post Search

POST {{baseUrl}}/_search

Returns results matching a query.

Request Params

KeyDatatypeRequiredDescription
allow_no_indicesboolean
allow_partial_search_resultsboolean
analyzerstring
analyze_wildcardboolean
batched_reduce_sizestring
ccs_minimize_roundtripsboolean
default_operatorstring
dfstring
docvalue_fieldsstring
expand_wildcardsstring
explainboolean
fromstring
ignore_throttledboolean
ignore_unavailableboolean
lenientboolean
max_concurrent_shard_requestsstring
pre_filter_shard_sizestring
preferencestring
qstring
request_cacheboolean
rest_total_hits_as_intboolean
routingstring
scrollstring
search_typenumber
seq_no_primary_termboolean
sizestring
sortstring
sortstring
sourcestring
source_excludesstring
source_excludesstring
source_includesstring
source_includesstring
statsstring
stored_fieldsboolean
suggest_fieldstring
suggest_modenumber
suggest_sizestring
suggest_textstring
terminate_afterstring
timeoutstring
track_scoresboolean
track_total_hitsstring
typed_keysboolean
versionboolean

Request Body

{"docvalue_fields"=>"Lorem nostrud", "explain"=>true, "from"=>19877495.855500355, "seq_no_primary_term"=>false, "size"=>-91872867.16205505, "source"=>"dolore nisi ullamco", "stats"=>"fugiat nostrud pariatur", "terminate_after"=>-32518985.131831884, "timeout"=>"76nanos", "version"=>true, "fields"=>["deserunt dolore tempor laboris", "elit proident ut"], "min_score"=>-89416608.40422672}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"_scroll_id":"cillum nostrud","took":31747090.008841813,"timed_out":true,"_shards":{"total":-64287014.352635905,"successful":-96674406.61148077,"skipped":-56506584.693987615,"failed":6394732.734863058},"hits":{"total":{"value":29639005.011635706,"relation":"eq"},"max_score":69357329.19340727,"hits":[{"_index":"adipisicing occaecat officia commodo","_type":"cupidatat reprehenderit","_id":"quis proident Duis et","_score":97000613.51059893,"_source":{},"fields":{}},{"_index":"tempor","_type":"sed anim irure est","_id":"nulla cillum","_score":39169494.4632698,"_source":{},"fields":{}}]}}