public abstract class Facets extends Object
| Constructor and Description |
|---|
Facets()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
abstract List<FacetResult> |
getAllDims(int topN)
Returns topN labels for any dimension that had hits,
sorted by the number of hits that dimension matched;
this is used for "sparse" faceting, where many
different dimensions were indexed, for example
depending on the type of document.
|
abstract Number |
getSpecificValue(String dim,
String... path)
Return the count or value
for a specific path.
|
abstract FacetResult |
getTopChildren(int topN,
String dim,
String... path)
Returns the topN child labels under the specified
path.
|
public abstract FacetResult getTopChildren(int topN, String dim, String... path) throws IOException
IOExceptionpublic abstract Number getSpecificValue(String dim, String... path) throws IOException
IOExceptionpublic abstract List<FacetResult> getAllDims(int topN) throws IOException
IOExceptionCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.