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

This commit is contained in:
Jakob Reiter 2015-07-08 17:47:04 +02:00
parent acf8e2e917
commit daa5a8da24
1 changed files with 5 additions and 5 deletions

View File

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