Package | Description |
---|---|
org.apache.lucene.facet.search |
Faceted Search API
|
org.apache.lucene.facet.search.params |
Parameters for Faceted Search
|
org.apache.lucene.facet.search.sampling |
Sampling for facets accumulation
|
org.apache.lucene.facet.util |
Various utilities for faceted search
|
Modifier and Type | Field | Description |
---|---|---|
protected FacetSearchParams |
FacetsAccumulator.searchParams |
Modifier and Type | Method | Description |
---|---|---|
protected FacetsAccumulator |
FacetsCollector.initFacetsAccumulator(FacetSearchParams facetSearchParams,
IndexReader indexReader,
TaxonomyReader taxonomyReader) |
Create the
FacetsAccumulator to be used. |
protected ScoredDocIdCollector |
FacetsCollector.initScoredDocCollector(FacetSearchParams facetSearchParams,
IndexReader indexReader,
TaxonomyReader taxonomyReader) |
Create a
ScoredDocIdCollector to be used as the first phase of
the facet collection. |
static Query |
DrillDown.query(FacetSearchParams sParams,
CategoryPath... paths) |
Return a query for drilling down into all given categories (AND).
|
static Query |
DrillDown.query(FacetSearchParams sParams,
Query baseQuery,
CategoryPath... paths) |
Turn a base query into a drilling-down query for all given category paths (AND).
|
static Term |
DrillDown.term(FacetSearchParams sParams,
CategoryPath path) |
Modifier and Type | Method | Description |
---|---|---|
CategoryListIterator |
FacetRequest.createCategoryListIterator(IndexReader reader,
TaxonomyReader taxo,
FacetSearchParams sParams,
int partition) |
Create the category list iterator for the specified partition.
|
Modifier and Type | Method | Description |
---|---|---|
FacetSearchParams |
Sampler.overSampledSearchParams(FacetSearchParams original) |
Over-sampled search params, wrapping each request with an over-sampled one.
|
Modifier and Type | Method | Description |
---|---|---|
SampleFixer |
Sampler.getSampleFixer(IndexReader indexReader,
TaxonomyReader taxonomyReader,
FacetSearchParams searchParams) |
Get a fixer of sample facet accumulation results.
|
FacetSearchParams |
Sampler.overSampledSearchParams(FacetSearchParams original) |
Over-sampled search params, wrapping each request with an over-sampled one.
|
Constructor | Description |
---|---|
SamplingAccumulator(Sampler sampler,
FacetSearchParams searchParams,
IndexReader indexReader,
TaxonomyReader taxonomyReader) |
Constructor...
|
SamplingAccumulator(Sampler sampler,
FacetSearchParams searchParams,
IndexReader indexReader,
TaxonomyReader taxonomyReader,
IntArrayAllocator intArrayAllocator,
FloatArrayAllocator floatArrayAllocator) |
Constructor...
|
Modifier and Type | Method | Description |
---|---|---|
static int |
PartitionsUtils.partitionNumber(FacetSearchParams sParams,
int ordinal) |
|
static int |
PartitionsUtils.partitionOffset(FacetSearchParams sParams,
int partitionNumber,
TaxonomyReader taxonomyReader) |
|
static int |
PartitionsUtils.partitionSize(FacetSearchParams sParams,
TaxonomyReader taxonomyReader) |
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.