If the category being aggregated is hierarchical, you can also specify the {@link #setDepth(int) depth} up which to aggregate child categories as wellas how the result should be {@link #setResultMode(ResultMode) constructed}. @lucene.experimental
The facet request additionally defines what information should be computed within the facet results, if and how should results be ordered, etc.
An example facet request is to look at all sub-categories of "Author", and return the 10 with the highest counts (sorted by decreasing count). @lucene.experimental
|
|