org.apache.lucene.facet.example.association
Class AssociationSearcher

java.lang.Object
  extended by org.apache.lucene.facet.example.association.AssociationSearcher

public class AssociationSearcher
extends Object

AssociationSearcher searches index with facets, evaluating the facets with their associated $int value

WARNING: This API is experimental and might change in incompatible ways in the next release.

Constructor Summary
AssociationSearcher()
           
 
Method Summary
static List<FacetResult> searchSumFloatAssociation(org.apache.lucene.store.Directory indexDir, org.apache.lucene.store.Directory taxoDir)
          Search an index with a sum of float-association.
static List<FacetResult> searchSumIntAssociation(org.apache.lucene.store.Directory indexDir, org.apache.lucene.store.Directory taxoDir)
          Search an index with a sum of int-association.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssociationSearcher

public AssociationSearcher()
Method Detail

searchSumIntAssociation

public static List<FacetResult> searchSumIntAssociation(org.apache.lucene.store.Directory indexDir,
                                                        org.apache.lucene.store.Directory taxoDir)
                                                 throws Exception
Search an index with a sum of int-association.

Throws:
Exception

searchSumFloatAssociation

public static List<FacetResult> searchSumFloatAssociation(org.apache.lucene.store.Directory indexDir,
                                                          org.apache.lucene.store.Directory taxoDir)
                                                   throws Exception
Search an index with a sum of float-association.

Throws:
Exception


Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.