Explorar o código

docs: fix callouts

Martijn van Groningen %!s(int64=10) %!d(string=hai) anos
pai
achega
e443bfc492
Modificáronse 1 ficheiros con 9 adicións e 7 borrados
  1. 9 7
      docs/reference/search/field-stats.asciidoc

+ 9 - 7
docs/reference/search/field-stats.asciidoc

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