Package | Description |
---|---|
org.apache.lucene.facet.search |
Faceted Search API
API for faceted search has several interfaces - simple, top level ones, adequate for most users,
and advanced, more complicated ones, for the more advanced users.
|
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 and Description |
---|---|
protected FacetSearchParams |
FacetsAccumulator.searchParams |
Modifier and Type | Method and 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 and 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 and Description |
---|---|
FacetSearchParams |
Sampler.overSampledSearchParams(FacetSearchParams original)
Over-sampled search params, wrapping each request with an over-sampled one.
|
Modifier and Type | Method and 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 and 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 and 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) |