org.apache.lucene.facet.example.adaptive
Class AdaptiveSearcher
java.lang.Object
org.apache.lucene.facet.example.adaptive.AdaptiveSearcher
public class AdaptiveSearcher
- extends Object
Search with facets through the AdaptiveFacetsAccumulator
- WARNING: This API is experimental and might change in incompatible ways in the next release.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AdaptiveSearcher
public AdaptiveSearcher()
searchWithFacets
public static List<FacetResult> searchWithFacets(org.apache.lucene.store.Directory indexDir,
org.apache.lucene.store.Directory taxoDir)
throws Exception
- Search with facets through the
AdaptiveFacetsAccumulator
- Parameters:
indexDir
- Directory of the search index.taxoDir
- Directory of the taxonomy index.
- Returns:
- facet results
- Throws:
Exception
- on error (no detailed exception handling here for sample simplicity
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.