|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.lucene.facet.Facets
org.apache.lucene.facet.taxonomy.TaxonomyFacets
org.apache.lucene.facet.taxonomy.IntTaxonomyFacets
public abstract class IntTaxonomyFacets
Base class for all taxonomy-based facets that aggregate to a per-ords int[].
| Field Summary | |
|---|---|
protected int[] |
values
Per-ordinal value. |
| Fields inherited from class org.apache.lucene.facet.taxonomy.TaxonomyFacets |
|---|
children, config, indexFieldName, siblings, taxoReader |
| Constructor Summary | |
|---|---|
protected |
IntTaxonomyFacets(String indexFieldName,
TaxonomyReader taxoReader,
FacetsConfig config)
Sole constructor. |
| Method Summary | |
|---|---|
Number |
getSpecificValue(String dim,
String... path)
Return the count or value for a specific path. |
FacetResult |
getTopChildren(int topN,
String dim,
String... path)
Returns the topN child labels under the specified path. |
protected void |
rollup()
Rolls up any single-valued hierarchical dimensions. |
| Methods inherited from class org.apache.lucene.facet.taxonomy.TaxonomyFacets |
|---|
getAllDims, verifyDim |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final int[] values
| Constructor Detail |
|---|
protected IntTaxonomyFacets(String indexFieldName,
TaxonomyReader taxoReader,
FacetsConfig config)
throws IOException
IOException| Method Detail |
|---|
protected void rollup()
throws IOException
IOException
public Number getSpecificValue(String dim,
String... path)
throws IOException
Facets
getSpecificValue in class FacetsIOException
public FacetResult getTopChildren(int topN,
String dim,
String... path)
throws IOException
Facets
getTopChildren in class FacetsIOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||