Package | Description |
---|---|
org.apache.lucene.facet.associations |
Allows associating arbitrary values with a category.
|
org.apache.lucene.facet.old |
Old faceted search API, kept until complements, sampling and partitions are migrated to the new API.
|
org.apache.lucene.facet.params |
Facets indexing and search parameters.
|
org.apache.lucene.facet.partitions |
Category Partitions
|
org.apache.lucene.facet.range |
Code to compute facets for numeric ranges.
|
org.apache.lucene.facet.sampling |
Facets sampling.
|
org.apache.lucene.facet.search |
Facets search code.
|
org.apache.lucene.facet.util |
Various utilities for faceted search
|
Modifier and Type | Class and Description |
---|---|
class |
SumFloatAssociationFacetRequest
A
FacetRequest for weighting facets according to their float
association by summing the association values. |
class |
SumIntAssociationFacetRequest
A
FacetRequest for weighting facets according to their integer
association by summing the association values. |
Modifier and Type | Method and Description |
---|---|
OrdinalValueResolver |
SumFloatAssociationFacetsAggregator.createOrdinalValueResolver(FacetRequest facetRequest,
FacetArrays arrays) |
OrdinalValueResolver |
SumIntAssociationFacetsAggregator.createOrdinalValueResolver(FacetRequest facetRequest,
FacetArrays arrays) |
void |
SumFloatAssociationFacetsAggregator.rollupValues(FacetRequest fr,
int ordinal,
int[] children,
int[] siblings,
FacetArrays facetArrays) |
void |
SumIntAssociationFacetsAggregator.rollupValues(FacetRequest fr,
int ordinal,
int[] children,
int[] siblings,
FacetArrays facetArrays) |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
OldFacetsAccumulator.createAggregator(FacetRequest fr,
FacetArrays facetArrays) |
PartitionsFacetResultsHandler |
OldFacetsAccumulator.createFacetResultsHandler(FacetRequest fr,
OrdinalValueResolver resolver) |
OrdinalValueResolver |
OldFacetsAccumulator.createOrdinalValueResolver(FacetRequest fr)
Creates an
OrdinalValueResolver for the given FacetRequest . |
Modifier and Type | Field and Description |
---|---|
List<FacetRequest> |
FacetSearchParams.facetRequests |
Constructor and Description |
---|
FacetSearchParams(FacetIndexingParams indexingParams,
FacetRequest... facetRequests)
Initializes with the given
requests and
FacetIndexingParams . |
FacetSearchParams(FacetRequest... facetRequests)
Initializes with the given
requests and default
FacetIndexingParams.DEFAULT . |
Constructor and Description |
---|
FacetSearchParams(FacetIndexingParams indexingParams,
List<FacetRequest> facetRequests)
Initializes with the given
requests and
FacetIndexingParams . |
FacetSearchParams(List<FacetRequest> facetRequests)
Initializes with the given
requests and default
FacetIndexingParams.DEFAULT . |
Modifier and Type | Method and Description |
---|---|
FacetRequest |
IntermediateFacetResult.getFacetRequest()
Facet request for which this temporary result was created.
|
Constructor and Description |
---|
PartitionsFacetResultsHandler(TaxonomyReader taxonomyReader,
FacetRequest facetRequest,
OrdinalValueResolver resolver,
FacetArrays facetArrays) |
Modifier and Type | Class and Description |
---|---|
class |
RangeFacetRequest<T extends Range>
|
Constructor and Description |
---|
RangeAccumulator(FacetRequest... facetRequests) |
Constructor and Description |
---|
RangeAccumulator(List<FacetRequest> facetRequests) |
Modifier and Type | Class and Description |
---|---|
static class |
Sampler.OverSampledFacetRequest
Wrapping a facet request for over sampling.
|
Modifier and Type | Field and Description |
---|---|
FacetRequest |
Sampler.OverSampledFacetRequest.orig |
Constructor and Description |
---|
Sampler.OverSampledFacetRequest(FacetRequest orig,
int num) |
Modifier and Type | Class and Description |
---|---|
class |
CountFacetRequest
Facet request for counting facets.
|
class |
SumScoreFacetRequest
A
FacetRequest for weighting facets by summing the scores of matching
documents. |
class |
SumValueSourceFacetRequest
A
FacetRequest which aggregates categories by the sum of the values,
returned by a ValueSource , in the documents they are associated with. |
Modifier and Type | Field and Description |
---|---|
FacetRequest |
FacetResultsHandler.facetRequest |
Modifier and Type | Method and Description |
---|---|
FacetRequest |
FacetResult.getFacetRequest()
Request for which this result was obtained.
|
FacetRequest |
TopKInEachNodeHandler.IntermediateFacetResultWithHash.getFacetRequest() |
Modifier and Type | Method and Description |
---|---|
protected Map<CategoryListParams,List<FacetRequest>> |
TaxonomyFacetsAccumulator.groupRequests()
Group all requests that belong to the same
CategoryListParams . |
Modifier and Type | Method and Description |
---|---|
protected FacetResultsHandler |
TaxonomyFacetsAccumulator.createFacetResultsHandler(FacetRequest fr,
OrdinalValueResolver resolver)
|
OrdinalValueResolver |
IntRollupFacetsAggregator.createOrdinalValueResolver(FacetRequest facetRequest,
FacetArrays arrays) |
OrdinalValueResolver |
PerCategoryListAggregator.createOrdinalValueResolver(FacetRequest facetRequest,
FacetArrays arrays) |
OrdinalValueResolver |
FacetsAggregator.createOrdinalValueResolver(FacetRequest facetRequest,
FacetArrays arrays)
Creates the appropriate
OrdinalValueResolver for this aggregator
and the given FacetRequest . |
OrdinalValueResolver |
MultiFacetsAggregator.createOrdinalValueResolver(FacetRequest facetRequest,
FacetArrays arrays) |
OrdinalValueResolver |
SumScoreFacetsAggregator.createOrdinalValueResolver(FacetRequest facetRequest,
FacetArrays arrays) |
protected static FacetResult |
FacetsAccumulator.emptyResult(int ordinal,
FacetRequest fr)
Returns an empty
FacetResult . |
void |
IntRollupFacetsAggregator.rollupValues(FacetRequest fr,
int ordinal,
int[] children,
int[] siblings,
FacetArrays facetArrays) |
void |
PerCategoryListAggregator.rollupValues(FacetRequest fr,
int ordinal,
int[] children,
int[] siblings,
FacetArrays facetArrays) |
void |
FacetsAggregator.rollupValues(FacetRequest fr,
int ordinal,
int[] children,
int[] siblings,
FacetArrays facetArrays)
Rollup the values of the given ordinal.
|
void |
MultiFacetsAggregator.rollupValues(FacetRequest fr,
int ordinal,
int[] children,
int[] siblings,
FacetArrays facetArrays) |
void |
SumScoreFacetsAggregator.rollupValues(FacetRequest fr,
int ordinal,
int[] children,
int[] siblings,
FacetArrays facetArrays) |
Constructor and Description |
---|
DepthOneFacetResultsHandler(TaxonomyReader taxonomyReader,
FacetRequest facetRequest,
FacetArrays facetArrays,
OrdinalValueResolver resolver) |
FacetResult(FacetRequest facetRequest,
FacetResultNode rootNode,
int numValidDescendants) |
FacetResultsHandler(TaxonomyReader taxonomyReader,
FacetRequest facetRequest,
OrdinalValueResolver resolver,
FacetArrays facetArrays) |
TopKFacetResultsHandler(TaxonomyReader taxonomyReader,
FacetRequest facetRequest,
OrdinalValueResolver resolver,
FacetArrays facetArrays)
Construct top-K results handler.
|
TopKInEachNodeHandler.IntermediateFacetResultWithHash(FacetRequest facetReq,
IntToObjectMap<TopKInEachNodeHandler.AACO> mapToAACOs) |
TopKInEachNodeHandler(TaxonomyReader taxonomyReader,
FacetRequest facetRequest,
OrdinalValueResolver resolver,
FacetArrays facetArrays) |
Modifier and Type | Method and Description |
---|---|
static Heap<FacetResultNode> |
ResultSortUtils.createSuitableHeap(FacetRequest facetRequest)
Create a suitable heap according to facet request being served.
|
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.