| Package | Description |
|---|---|
| org.apache.lucene.facet |
Faceted search.
|
| org.apache.lucene.facet.taxonomy |
Taxonomy of Categories.
|
| Modifier and Type | Field and Description |
|---|---|
protected FacetsConfig |
DrillSideways.config
FacetsConfig passed to constructor. |
| Modifier and Type | Method and Description |
|---|---|
FacetResult |
RandomSamplingFacetsCollector.amortizeFacetCounts(FacetResult res,
FacetsConfig config,
IndexSearcher searcher)
Note: if you use a counting
Facets implementation, you can amortize the
sampled counts by calling this method. |
| Constructor and Description |
|---|
DrillDownQuery(FacetsConfig config)
Creates a new
DrillDownQuery without a base query,
to perform a pure browsing query (equivalent to using
MatchAllDocsQuery as base). |
DrillDownQuery(FacetsConfig config,
Query baseQuery)
Creates a new
DrillDownQuery over the given base query. |
DrillSideways(IndexSearcher searcher,
FacetsConfig config,
SortedSetDocValuesReaderState state)
Create a new
DrillSideways instance, assuming the categories were
indexed with SortedSetDocValuesFacetField. |
DrillSideways(IndexSearcher searcher,
FacetsConfig config,
TaxonomyReader taxoReader)
Create a new
DrillSideways instance. |
DrillSideways(IndexSearcher searcher,
FacetsConfig config,
TaxonomyReader taxoReader,
SortedSetDocValuesReaderState state)
Create a new
DrillSideways instance, where some
dimensions were indexed with SortedSetDocValuesFacetField and others were indexed
with FacetField. |
| Modifier and Type | Field and Description |
|---|---|
protected FacetsConfig |
TaxonomyFacets.config
FacetsConfig provided to the constructor. |
| Modifier and Type | Method and Description |
|---|---|
static void |
TaxonomyMergeUtils.merge(Directory srcIndexDir,
Directory srcTaxoDir,
DirectoryTaxonomyWriter.OrdinalMap map,
IndexWriter destIndexWriter,
DirectoryTaxonomyWriter destTaxoWriter,
FacetsConfig srcConfig)
Merges the given taxonomy and index directories and commits the changes to
the given writers.
|
| Constructor and Description |
|---|
FastTaxonomyFacetCounts(String indexFieldName,
TaxonomyReader taxoReader,
FacetsConfig config,
FacetsCollector fc)
Create
FastTaxonomyFacetCounts, using the
specified indexFieldName for ordinals. |
FastTaxonomyFacetCounts(TaxonomyReader taxoReader,
FacetsConfig config,
FacetsCollector fc)
Create
FastTaxonomyFacetCounts, which also
counts all facet labels. |
FloatTaxonomyFacets(String indexFieldName,
TaxonomyReader taxoReader,
FacetsConfig config)
Sole constructor.
|
IntTaxonomyFacets(String indexFieldName,
TaxonomyReader taxoReader,
FacetsConfig config)
Sole constructor.
|
OrdinalMappingLeafReader(LeafReader in,
int[] ordinalMap,
FacetsConfig srcConfig)
Wraps an LeafReader, mapping ordinals according to the ordinalMap, using
the provided
FacetsConfig which was used to build the wrapped
reader. |
TaxonomyFacetCounts(OrdinalsReader ordinalsReader,
TaxonomyReader taxoReader,
FacetsConfig config,
FacetsCollector fc)
Create
TaxonomyFacetCounts, which also
counts all facet labels. |
TaxonomyFacets(String indexFieldName,
TaxonomyReader taxoReader,
FacetsConfig config)
Sole constructor.
|
TaxonomyFacetSumFloatAssociations(String indexFieldName,
TaxonomyReader taxoReader,
FacetsConfig config,
FacetsCollector fc)
Create
TaxonomyFacetSumFloatAssociations against
the specified index field. |
TaxonomyFacetSumFloatAssociations(TaxonomyReader taxoReader,
FacetsConfig config,
FacetsCollector fc)
Create
TaxonomyFacetSumFloatAssociations against
the default index field. |
TaxonomyFacetSumIntAssociations(String indexFieldName,
TaxonomyReader taxoReader,
FacetsConfig config,
FacetsCollector fc)
Create
TaxonomyFacetSumIntAssociations against
the specified index field. |
TaxonomyFacetSumIntAssociations(TaxonomyReader taxoReader,
FacetsConfig config,
FacetsCollector fc)
Create
TaxonomyFacetSumIntAssociations against
the default index field. |
TaxonomyFacetSumValueSource(OrdinalsReader ordinalsReader,
TaxonomyReader taxoReader,
FacetsConfig config,
FacetsCollector fc,
ValueSource valueSource)
Aggreggates float facet values from the provided
ValueSource, and pulls ordinals from the
provided OrdinalsReader. |
TaxonomyFacetSumValueSource(TaxonomyReader taxoReader,
FacetsConfig config,
FacetsCollector fc,
ValueSource valueSource)
Aggreggates float facet values from the provided
ValueSource, pulling ordinals using DocValuesOrdinalsReader against the default indexed
facet field DEFAULT_INDEX_FIELD_NAME. |
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.