QueryRequest
QueryRequest
JSON Example
{
"aggregations": {
"aggregations": {
"aggregations": {
"aggregations": "Aggregation Object"
},
"avg": {
"field": "string"
},
"bucketAggregation": false,
"cardinality": {
"field": "string"
},
"composite": {
"size": 0,
"sources": [
{
"terms": {
"field": "string",
"missing_bucket": false,
"missing_order": "string",
"order": "string"
}
}
]
},
"date_histogram": {
"field": "string",
"fixed_interval": "string",
"order": {
"_key": {
"order": "string"
}
}
},
"max": {
"field": "string"
},
"min": {
"field": "string"
},
"multi_terms": {
"min_doc_count": 0,
"order": [
{
"order": "string"
}
],
"shard_size": 0,
"size": 0,
"terms": [
{
"field": "string"
}
]
},
"sample": {
"field": "string"
},
"stddev": {
"field": "string"
},
"sum": {
"field": "string"
},
"top_hits": {
"_source": [
"string"
],
"from": 0,
"size": 0,
"sort": [
{
"empty": false
}
]
},
"valueAggregation": false,
"value_count": {
"field": "string"
},
"variance": {
"field": "string"
}
}
},
"from": 0,
"indices": [
"string"
],
"query": {
"bool": "BoolQuery Object",
"exists": {
"field": "string"
},
"match_all": {},
"match_phrase": {
"empty": false
},
"prefix": {
"empty": false
},
"range": {
"empty": false
},
"regexp": {
"empty": false
},
"term": {
"empty": false
},
"terms": {
"empty": false
}
},
"scroll": "string",
"scrollSize": 0,
"size": 0,
"sort": [
{
"empty": false
}
],
"trackTotalHits": false
}
object
aggregations
Optional
aggregations
integer As int32
As int32
from
Optional
Constraints:
maximum: 20000
from
array of
string
indices
Optional
indices
string
scroll
Optional
scroll
integer As int32
As int32
scrollSize
Optional
scrollSize
integer As int32
As int32
size
Optional
Constraints:
maximum: 2000
size
boolean
trackTotalHits
Optional
trackTotalHits