|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.facet.Facets
public abstract class Facets
Common base class for all facets implementations.
Constructor Summary | |
---|---|
Facets()
Default constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Facets()
Method Detail |
---|
public abstract FacetResult getTopChildren(int topN, String dim, String... path) throws IOException
IOException
public abstract Number getSpecificValue(String dim, String... path) throws IOException
IOException
public abstract List<FacetResult> getAllDims(int topN) throws IOException
IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |