docs: fix callouts
This commit is contained in:
parent
ecbc7774ca
commit
e443bfc492
|
@ -270,18 +270,20 @@ If missing, the format configured in the field's mapping is used.
|
||||||
[source,js]
|
[source,js]
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
curl -XPOST "http://localhost:9200/_field_stats?level=indices" -d '{
|
curl -XPOST "http://localhost:9200/_field_stats?level=indices" -d '{
|
||||||
"fields" : ["answer_count"] <1>
|
"fields" : ["answer_count"]
|
||||||
"index_constraints" : { <2>
|
"index_constraints" : {
|
||||||
"creation_date" : { <3>
|
"creation_date" : {
|
||||||
"min_value" : { <4>
|
"min_value" : {
|
||||||
"gte" : "2014-01-01",
|
"gte" : "2014-01-01",
|
||||||
"format" : "date_optional_time"
|
"format" : "date_optional_time" <1>
|
||||||
},
|
},
|
||||||
"max_value" : {
|
"max_value" : {
|
||||||
"lt" : "2015-01-01",
|
"lt" : "2015-01-01",
|
||||||
"format" : "date_optional_time"
|
"format" : "date_optional_time" <1>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}'
|
}'
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
|
|
||||||
|
<1> Custom date format
|
Loading…
Reference in New Issue