public interface FacetParser
FacetExecutor.
The parser also suggest the default FacetExecutor.Mode both for global and main executions.| Modifier and Type | Method and Description |
|---|---|
FacetExecutor.Mode |
defaultGlobalMode()
The default mode to use when executed as a "global" (all docs) facet.
|
FacetExecutor.Mode |
defaultMainMode()
The default mode to use when executed as a "main" (query level) facet.
|
FacetExecutor |
parse(String facetName,
XContentParser parser,
SearchContext context)
Parses the facet into a
FacetExecutor. |
String[] |
types()
The type of the facet, for example, terms.
|
String[] types()
FacetExecutor.Mode defaultMainMode()
FacetExecutor.Mode defaultGlobalMode()
FacetExecutor parse(String facetName, XContentParser parser, SearchContext context) throws IOException
FacetExecutor.IOExceptionCopyright © 2009–2016. All rights reserved.