Post Search
POST {{baseUrl}}/_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 | number | ||
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 | number | ||
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
{"_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":{}}]}}