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

Fix minor typos in query dsl docs
This commit is contained in:
Clinton Gormley 2016-03-10 13:45:13 +01:00
commit 6b4a6be2df
3 changed files with 6 additions and 7 deletions

View File

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

View File

@ -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" : {

View File

@ -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",