Uses of Interface
org.apache.lucene.facet.taxonomy.TaxonomyReader
-
Packages that use TaxonomyReader Package Description org.apache.lucene.facet.search Faceted Search APIorg.apache.lucene.facet.search.cache Caching to speed up facets accumulation.org.apache.lucene.facet.search.params Parameters for Faceted Searchorg.apache.lucene.facet.search.params.association Association-based Parameters for Faceted Search.org.apache.lucene.facet.search.results Results of Faceted Searchorg.apache.lucene.facet.search.sampling Sampling for facets accumulationorg.apache.lucene.facet.taxonomy.directory Taxonomy implemented using a Lucene-Indexorg.apache.lucene.facet.util Various utilities for faceted search -
-
Uses of TaxonomyReader in org.apache.lucene.facet.search
Fields in org.apache.lucene.facet.search declared as TaxonomyReader Modifier and Type Field Description protected TaxonomyReaderFacetResultsHandler. taxonomyReaderTaxonomy for which facets are handledprotected TaxonomyReaderFacetsAccumulator. taxonomyReaderMethods in org.apache.lucene.facet.search that return TaxonomyReader Modifier and Type Method Description TaxonomyReaderFacetResultsHandler. getTaxonomyReader()Return taxonomy reader used for current facets accumulation operation.Methods in org.apache.lucene.facet.search with parameters of type TaxonomyReader Modifier and Type Method Description TotalFacetCountsTotalFacetCountsCache. getTotalCounts(org.apache.lucene.index.IndexReader indexReader, TaxonomyReader taxonomy, FacetIndexingParams facetIndexingParams, CategoryListCache clCache)Get the total facet counts for a reader/taxonomy pair and facet indexing parameters.protected FacetsAccumulatorFacetsCollector. initFacetsAccumulator(FacetSearchParams facetSearchParams, org.apache.lucene.index.IndexReader indexReader, TaxonomyReader taxonomyReader)Create theFacetsAccumulatorto be used.protected ScoredDocIdCollectorFacetsCollector. initScoredDocCollector(FacetSearchParams facetSearchParams, org.apache.lucene.index.IndexReader indexReader, TaxonomyReader taxonomyReader)Create aScoredDocIdCollectorto be used as the first phase of the facet collection.voidTotalFacetCountsCache. load(File inputFile, org.apache.lucene.index.IndexReader indexReader, TaxonomyReader taxonomy, FacetIndexingParams facetIndexingParams)LoadTotalFacetCountsmatching input parameters from the provided outputFile and add them into the cache for the provided indexReader, taxonomy, and facetIndexingParams.voidTotalFacetCountsCache. store(File outputFile, org.apache.lucene.index.IndexReader indexReader, TaxonomyReader taxonomy, FacetIndexingParams facetIndexingParams, CategoryListCache clCache)Store theTotalFacetCountsmatching input parameters into the provided outputFile, making them available for a later call toTotalFacetCountsCache.load(File, IndexReader, TaxonomyReader, FacetIndexingParams).Constructors in org.apache.lucene.facet.search with parameters of type TaxonomyReader Constructor Description AdaptiveFacetsAccumulator(FacetSearchParams searchParams, org.apache.lucene.index.IndexReader indexReader, TaxonomyReader taxonomyReader)Create anAdaptiveFacetsAccumulatorAdaptiveFacetsAccumulator(FacetSearchParams searchParams, org.apache.lucene.index.IndexReader indexReader, TaxonomyReader taxonomyReader, IntArrayAllocator intArrayAllocator, FloatArrayAllocator floatArrayAllocator)Create anAdaptiveFacetsAccumulatorFacetResultsHandler(TaxonomyReader taxonomyReader, FacetRequest facetRequest)Create a faceted search handler.FacetsAccumulator(FacetSearchParams searchParams, org.apache.lucene.index.IndexReader indexReader, TaxonomyReader taxonomyReader)FacetsCollector(FacetSearchParams facetSearchParams, org.apache.lucene.index.IndexReader indexReader, TaxonomyReader taxonomyReader)Create a collector for accumulating facets while collecting documents during search.StandardFacetsAccumulator(FacetSearchParams searchParams, org.apache.lucene.index.IndexReader indexReader, TaxonomyReader taxonomyReader)StandardFacetsAccumulator(FacetSearchParams searchParams, org.apache.lucene.index.IndexReader indexReader, TaxonomyReader taxonomyReader, IntArrayAllocator intArrayAllocator, FloatArrayAllocator floatArrayAllocator)TopKFacetResultsHandler(TaxonomyReader taxonomyReader, FacetRequest facetRequest)Construct top-K results handler.TopKInEachNodeHandler(TaxonomyReader taxonomyReader, FacetRequest facetRequest) -
Uses of TaxonomyReader in org.apache.lucene.facet.search.cache
Methods in org.apache.lucene.facet.search.cache with parameters of type TaxonomyReader Modifier and Type Method Description voidCategoryListCache. loadAndRegister(CategoryListParams clp, org.apache.lucene.index.IndexReader reader, TaxonomyReader taxo, FacetIndexingParams iparams)Load and registerCategoryListData. -
Uses of TaxonomyReader in org.apache.lucene.facet.search.params
Methods in org.apache.lucene.facet.search.params with parameters of type TaxonomyReader Modifier and Type Method Description AggregatorCountFacetRequest. createAggregator(boolean useComplements, FacetArrays arrays, org.apache.lucene.index.IndexReader reader, TaxonomyReader taxonomy)abstract AggregatorFacetRequest. createAggregator(boolean useComplements, FacetArrays arrays, org.apache.lucene.index.IndexReader indexReader, TaxonomyReader taxonomy)Create an aggregator for this facet request.AggregatorScoreFacetRequest. createAggregator(boolean useComplements, FacetArrays arrays, org.apache.lucene.index.IndexReader reader, TaxonomyReader taxonomy)CategoryListIteratorFacetRequest. createCategoryListIterator(org.apache.lucene.index.IndexReader reader, TaxonomyReader taxo, FacetSearchParams sParams, int partition)Create the category list iterator for the specified partition.FacetResultsHandlerFacetRequest. createFacetResultsHandler(TaxonomyReader taxonomyReader)Creates a newFacetResultsHandlerthat matches the request logic and current settings, such asdepth,limits-mode, etc, as well as the passed inTaxonomyReader. -
Uses of TaxonomyReader in org.apache.lucene.facet.search.params.association
Methods in org.apache.lucene.facet.search.params.association with parameters of type TaxonomyReader Modifier and Type Method Description AggregatorAssociationFloatSumFacetRequest. createAggregator(boolean useComplements, FacetArrays arrays, org.apache.lucene.index.IndexReader reader, TaxonomyReader taxonomy)AggregatorAssociationIntSumFacetRequest. createAggregator(boolean useComplements, FacetArrays arrays, org.apache.lucene.index.IndexReader reader, TaxonomyReader taxonomy) -
Uses of TaxonomyReader in org.apache.lucene.facet.search.results
Methods in org.apache.lucene.facet.search.results with parameters of type TaxonomyReader Modifier and Type Method Description CategoryPathFacetResultNode. getLabel(TaxonomyReader taxonomyReader)Category path of the category of this result.CategoryPathMutableFacetResultNode. getLabel(TaxonomyReader taxonomyReader) -
Uses of TaxonomyReader in org.apache.lucene.facet.search.sampling
Methods in org.apache.lucene.facet.search.sampling with parameters of type TaxonomyReader Modifier and Type Method Description SampleFixerSampler. getSampleFixer(org.apache.lucene.index.IndexReader indexReader, TaxonomyReader taxonomyReader, FacetSearchParams searchParams)Get a fixer of sample facet accumulation results.Constructors in org.apache.lucene.facet.search.sampling with parameters of type TaxonomyReader Constructor Description SamplingAccumulator(Sampler sampler, FacetSearchParams searchParams, org.apache.lucene.index.IndexReader indexReader, TaxonomyReader taxonomyReader)Constructor...SamplingAccumulator(Sampler sampler, FacetSearchParams searchParams, org.apache.lucene.index.IndexReader indexReader, TaxonomyReader taxonomyReader, IntArrayAllocator intArrayAllocator, FloatArrayAllocator floatArrayAllocator)Constructor... -
Uses of TaxonomyReader in org.apache.lucene.facet.taxonomy.directory
Classes in org.apache.lucene.facet.taxonomy.directory that implement TaxonomyReader Modifier and Type Class Description classDirectoryTaxonomyReaderATaxonomyReaderwhich retrieves stored taxonomy information from aDirectory. -
Uses of TaxonomyReader in org.apache.lucene.facet.util
Methods in org.apache.lucene.facet.util with parameters of type TaxonomyReader Modifier and Type Method Description static intPartitionsUtils. partitionOffset(FacetIndexingParams iParams, int partitionNumber, TaxonomyReader taxonomyReader)Get the offset for a given partition.static intPartitionsUtils. partitionOffset(FacetSearchParams sParams, int partitionNumber, TaxonomyReader taxonomyReader)static intPartitionsUtils. partitionSize(FacetIndexingParams indexingParams, TaxonomyReader taxonomyReader)Get the partition size in this parameter, or return the size of the taxonomy, which is smaller.static intPartitionsUtils. partitionSize(FacetSearchParams sParams, TaxonomyReader taxonomyReader)
-