Post Search With Index

POST {{baseUrl}}/:index/_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_typestring
seq_no_primary_termboolean
sizestring
sortstring
sortstring
sourcestring
source_excludesstring
source_excludesstring
source_includesstring
source_includesstring
statsstring
stored_fieldsboolean
suggest_fieldstring
suggest_modestring
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

{"index":"Tdn-$","_scroll_id":"cillum minim Ut","took":93959236.04310751,"timed_out":true,"_shards":{"total":35179139.939098656,"successful":-17898199.825420663,"skipped":-52602576.17916242,"failed":83283425.3552174},"hits":{"total":{"value":-44173151.94071288,"relation":"eq"},"max_score":-36404914.21712979,"hits":[{"_index":"Ut","_type":"sunt sint aliquip","_id":"est laboris culpa","_score":13968802.902723536,"_source":{},"fields":{}},{"_index":"Excepteur nisi","_type":"quis","_id":"nostrud ul","_score":71410749.43440998,"_source":{},"fields":{}}]}}