Browse Source

Merge pull request #14800 from MaineC/doc-fix/query-dsl

Fix minor typos in query dsl docs
Clinton Gormley 9 years ago
parent
commit
6b4a6be2df

+ 4 - 4
docs/reference/query-dsl/geo-bounding-box-query.asciidoc

@@ -185,10 +185,10 @@ values separately.
         "filter" : {
         "filter" : {
             "geo_bounding_box" : {
             "geo_bounding_box" : {
                 "pin.location" : {
                 "pin.location" : {
-                    "top" : -74.1,
-                    "left" : 40.73,
-                    "bottom" : -71.12,
-                    "right" : 40.01
+                    "top" : 40.73,
+                    "left" : -74.1,
+                    "bottom" : 40.01,
+                    "right" : -71.12
                 }
                 }
             }
             }
         }
         }

+ 2 - 2
docs/reference/query-dsl/has-child-query.asciidoc

@@ -35,7 +35,7 @@ inside the `has_child` query:
 {
 {
     "has_child" : {
     "has_child" : {
         "type" : "blog_tag",
         "type" : "blog_tag",
-        "score_mode" : "sum",
+        "score_mode" : "min",
         "query" : {
         "query" : {
             "term" : {
             "term" : {
                 "tag" : "something"
                 "tag" : "something"
@@ -57,7 +57,7 @@ a match:
 {
 {
     "has_child" : {
     "has_child" : {
         "type" : "blog_tag",
         "type" : "blog_tag",
-        "score_mode" : "sum",
+        "score_mode" : "min",
         "min_children": 2, <1>
         "min_children": 2, <1>
         "max_children": 10, <1>
         "max_children": 10, <1>
         "query" : {
         "query" : {

+ 0 - 1
docs/reference/query-dsl/mlt-query.asciidoc

@@ -73,7 +73,6 @@ present in the index, the syntax is similar to <<docs-termvectors-artificial-doc
                 },
                 },
                 "tweet": "You got no idea what I'd... what I'd give to be invisible."
                 "tweet": "You got no idea what I'd... what I'd give to be invisible."
               }
               }
-            }
         },
         },
         {
         {
             "_index" : "marvel",
             "_index" : "marvel",