public abstract class Facets
extends java.lang.Object
Constructor and Description |
---|
Facets()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
abstract java.util.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 java.lang.Number |
getSpecificValue(java.lang.String dim,
java.lang.String... path)
Return the count or value
for a specific path.
|
abstract FacetResult |
getTopChildren(int topN,
java.lang.String dim,
java.lang.String... path)
Returns the topN child labels under the specified
path.
|
public abstract FacetResult getTopChildren(int topN, java.lang.String dim, java.lang.String... path) throws java.io.IOException
java.io.IOException
public abstract java.lang.Number getSpecificValue(java.lang.String dim, java.lang.String... path) throws java.io.IOException
java.io.IOException
public abstract java.util.List<FacetResult> getAllDims(int topN) throws java.io.IOException
java.io.IOException
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.