public class FacetDomain extends DslCloneable
QueryDefinition
. However, some
use-cases require computing facets on a broader, narrower, or otherwise modified set of documents. FacetDomain
encapsulates all the supported mechanisms for making these domain modifications.Constructor and Description |
---|
FacetDomain(List<Query> additionalFilters,
List<String> filtersToExclude) |
Modifier and Type | Method and Description |
---|---|
FacetDomain |
clone() |
List<Query> |
getAdditionalFilters() |
List<String> |
getExcludedFiltersByName()
A list of filter "names" to ignore when calculating facet counts.
|
clone, deepClone
public List<Query> getAdditionalFilters()
public List<String> getExcludedFiltersByName()
QueryDefinition.getNamedFilters()
public FacetDomain clone()
clone
in class DslCloneable