[DOCS] Added clarification about global scope in facets
This commit is contained in:
parent
08f8e77b8f
commit
e1c6f45ff0
|
@ -118,13 +118,14 @@ values computed across all documents in the index:
|
|||
--------------------------------------------------
|
||||
{
|
||||
"facets" : {
|
||||
"<FACET NAME>" : {
|
||||
"<FACET TYPE>" : { ... },
|
||||
"global" : true
|
||||
"my_facets" : {
|
||||
"terms" : { ... },
|
||||
"global" : true <1>
|
||||
}
|
||||
}
|
||||
}
|
||||
--------------------------------------------------
|
||||
<1> The `global` keyword can be used with any facet type.
|
||||
|
||||
There's one *important distinction* to keep in mind. While search
|
||||
_queries_ restrict both the returned documents and facet counts, search
|
||||
|
|
Loading…
Reference in New Issue