org.apache.lucene.facet.example.multiCL
Class MultiCLSearcher

java.lang.Object
  extended by org.apache.lucene.facet.example.multiCL.MultiCLSearcher

public class MultiCLSearcher
extends Object

MultiSearcher searches index with facets over an index with multiple category lists.

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

Constructor Summary
MultiCLSearcher()
           
 
Method Summary
static List<FacetResult> searchWithFacets(org.apache.lucene.store.Directory indexDir, org.apache.lucene.store.Directory taxoDir, FacetIndexingParams iParams)
          Search an index with facets.
static List<FacetResult> searchWithFacets(org.apache.lucene.index.IndexReader indexReader, TaxonomyReader taxo, FacetIndexingParams iParams)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiCLSearcher

public MultiCLSearcher()
Method Detail

searchWithFacets

public static List<FacetResult> searchWithFacets(org.apache.lucene.store.Directory indexDir,
                                                 org.apache.lucene.store.Directory taxoDir,
                                                 FacetIndexingParams iParams)
                                          throws Exception
Search an index with facets.

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

searchWithFacets

public static List<FacetResult> searchWithFacets(org.apache.lucene.index.IndexReader indexReader,
                                                 TaxonomyReader taxo,
                                                 FacetIndexingParams iParams)
                                          throws Exception
Throws:
Exception


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