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": {
"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"}}
]
}