Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

another typo fix

  • Loading branch information...
commit 2e53b8b17929a45faa5b201bbef92fedb3b8ae3c 1 parent 78e2e9e
@benoitc authored
Showing with 7 additions and 7 deletions.
  1. +7 −7 guide/reference/api/search/facets/index.textile
View
14 guide/reference/api/search/facets/index.textile
@@ -177,16 +177,16 @@ p. Another option is to run the facet on all the nested documents matching the r
<pre class="prettyprint lang-js">
{
- "query" : {
- "match_all" : {}
+ "query": {
+ "match_all": {}
},
- "facets" : {
- "facet1" : {
- "terms_stats" : {
+ "facets": {
+ "facet1": {
+ "terms_stats": {
"key_field" : "name",
- "value_field" : "count",
+ "value_field": "count"
},
- "nested" : "obj1"
+ "nested": "obj1"
}
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.