|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.demo.facet.AssociationsFacetsExample
public class AssociationsFacetsExample
Shows example usage of category associations.
Field Summary | |
---|---|
static CategoryAssociation[][] |
ASSOCIATIONS
Association values for each category. |
static CategoryPath[][] |
CATEGORIES
Categories per document, ASSOCIATIONS hold the association value
for each category. |
Constructor Summary | |
---|---|
AssociationsFacetsExample()
Empty constructor |
Method Summary | |
---|---|
static void |
main(String[] args)
Runs the sum int/float associations examples and prints the results. |
List<FacetResult> |
runSumAssociations()
Runs summing association example. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static CategoryPath[][] CATEGORIES
ASSOCIATIONS
hold the association value
for each category.
public static CategoryAssociation[][] ASSOCIATIONS
Constructor Detail |
---|
public AssociationsFacetsExample()
Method Detail |
---|
public List<FacetResult> runSumAssociations() throws IOException
IOException
public static void main(String[] args) throws Exception
Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |