Post Search With Index
POST {{baseUrl}}/:index/_search
Returns results matching a query.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
allow_no_indices | boolean | ||
allow_partial_search_results | boolean | ||
analyzer | string | ||
analyze_wildcard | boolean | ||
batched_reduce_size | string | ||
ccs_minimize_roundtrips | boolean | ||
default_operator | string | ||
df | string | ||
docvalue_fields | string | ||
expand_wildcards | string | ||
explain | boolean | ||
from | string | ||
ignore_throttled | boolean | ||
ignore_unavailable | boolean | ||
lenient | boolean | ||
max_concurrent_shard_requests | string | ||
pre_filter_shard_size | string | ||
preference | string | ||
q | string | ||
request_cache | boolean | ||
rest_total_hits_as_int | boolean | ||
routing | string | ||
scroll | string | ||
search_type | string | ||
seq_no_primary_term | boolean | ||
size | string | ||
sort | string | ||
sort | string | ||
source | string | ||
source_excludes | string | ||
source_excludes | string | ||
source_includes | string | ||
source_includes | string | ||
stats | string | ||
stored_fields | boolean | ||
suggest_field | string | ||
suggest_mode | string | ||
suggest_size | string | ||
suggest_text | string | ||
terminate_after | string | ||
timeout | string | ||
track_scores | boolean | ||
track_total_hits | string | ||
typed_keys | boolean | ||
version | boolean |
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
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
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":{}}]}}