Browse Source

Fixed typos in examples on common-terms-query.asciidoc. JSON was invalid before

Jakob Reiter 10 years ago
parent
commit
daa5a8da24
1 changed files with 5 additions and 5 deletions
  1. 5 5
      docs/reference/query-dsl/common-terms-query.asciidoc

+ 5 - 5
docs/reference/query-dsl/common-terms-query.asciidoc

@@ -95,7 +95,7 @@ all terms required:
     "body": {
       "query":            "nelly the elephant as a cartoon",
       "cutoff_frequency": 0.001,
-      "low_freq_operator" "and"
+      "low_freq_operator": "and"
     }
   }
 }
@@ -113,8 +113,8 @@ which is roughly equivalent to:
       { "term": { "body": "cartoon"}}
     ],
     "should": [
-      { "term": { "body": "the"}}
-      { "term": { "body": "as"}}
+      { "term": { "body": "the"}},
+      { "term": { "body": "as"}},
       { "term": { "body": "a"}}
     ]
   }
@@ -156,8 +156,8 @@ which is roughly equivalent to:
       }
     },
     "should": [
-      { "term": { "body": "the"}}
-      { "term": { "body": "as"}}
+      { "term": { "body": "the"}},
+      { "term": { "body": "as"}},
       { "term": { "body": "a"}}
     ]
   }