- CachedOrdinalsReader - Class in org.apache.lucene.facet.taxonomy
-
A per-segment cache of documents' facet ordinals.
- CachedOrdinalsReader(OrdinalsReader) - Constructor for class org.apache.lucene.facet.taxonomy.CachedOrdinalsReader
-
Sole constructor.
- CachedOrdinalsReader.CachedOrds - Class in org.apache.lucene.facet.taxonomy
-
Holds the cached ordinals in two parallel int[] arrays.
- CachedOrds(OrdinalsReader.OrdinalsSegmentReader, int) - Constructor for class org.apache.lucene.facet.taxonomy.CachedOrdinalsReader.CachedOrds
-
- childCount - Variable in class org.apache.lucene.facet.FacetResult
-
How many child labels were encountered.
- children() - Method in class org.apache.lucene.facet.taxonomy.ParallelTaxonomyArrays
-
Returns the children array, where children[i] denotes a child of
category ordinal i.
- childrenLoaded() - Method in class org.apache.lucene.facet.taxonomy.TaxonomyFacets
-
Returns true if the (costly, and lazily initialized) children int[] was initialized.
- clear() - Method in class org.apache.lucene.facet.taxonomy.writercache.LruTaxonomyWriterCache
-
- clear() - Method in interface org.apache.lucene.facet.taxonomy.writercache.TaxonomyWriterCache
-
Clears the content of the cache.
- clear() - Method in class org.apache.lucene.facet.taxonomy.writercache.UTF8TaxonomyWriterCache
-
- clone() - Method in class org.apache.lucene.facet.DrillDownQuery
-
- clone() - Method in class org.apache.lucene.facet.taxonomy.LRUHashMap
-
- close() - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter
-
Frees used resources as well as closes the underlying IndexWriter,
which commits whatever changes made to it to the underlying
Directory.
- close() - Method in class org.apache.lucene.facet.taxonomy.TaxonomyReader
-
- close() - Method in class org.apache.lucene.facet.taxonomy.writercache.LruTaxonomyWriterCache
-
- close() - Method in interface org.apache.lucene.facet.taxonomy.writercache.TaxonomyWriterCache
-
Let go of whatever resources the cache is holding.
- close() - Method in class org.apache.lucene.facet.taxonomy.writercache.UTF8TaxonomyWriterCache
-
- closeResources() - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter
-
A hook for extending classes to close additional resources that were used.
- collect(int) - Method in class org.apache.lucene.facet.FacetsCollector
-
- collectorResult - Variable in class org.apache.lucene.facet.DrillSideways.ConcurrentDrillSidewaysResult
-
The merged search results
- commit() - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter
-
- compareTo(FacetLabel) - Method in class org.apache.lucene.facet.taxonomy.FacetLabel
-
Compares this path with another
FacetLabel for lexicographic
order.
- components - Variable in class org.apache.lucene.facet.taxonomy.FacetLabel
-
- ConcurrentSortedSetDocValuesFacetCounts - Class in org.apache.lucene.facet.sortedset
-
- ConcurrentSortedSetDocValuesFacetCounts(SortedSetDocValuesReaderState, ExecutorService) - Constructor for class org.apache.lucene.facet.sortedset.ConcurrentSortedSetDocValuesFacetCounts
-
Returns all facet counts, same result as searching on MatchAllDocsQuery but faster.
- ConcurrentSortedSetDocValuesFacetCounts(SortedSetDocValuesReaderState, FacetsCollector, ExecutorService) - Constructor for class org.apache.lucene.facet.sortedset.ConcurrentSortedSetDocValuesFacetCounts
-
Counts all facet dimensions across the provided hits.
- config - Variable in class org.apache.lucene.facet.DrillSideways
-
- config - Variable in class org.apache.lucene.facet.taxonomy.TaxonomyFacets
-
FacetsConfig provided to the constructor.
- context - Variable in class org.apache.lucene.facet.FacetsCollector.MatchingDocs
-
Context for this segment.
- counter - Variable in class org.apache.lucene.facet.taxonomy.writercache.LabelToOrdinal
-
How many ordinals we've seen.
- createIndexWriterConfig(OpenMode) - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter
-
Create the IndexWriterConfig that would be used for opening the internal index writer.
- decode(BytesRef, IntsRef) - Method in class org.apache.lucene.facet.taxonomy.DocValuesOrdinalsReader
-
Subclass and override if you change the encoding.
- decRef(SearcherTaxonomyManager.SearcherAndTaxonomy) - Method in class org.apache.lucene.facet.taxonomy.SearcherTaxonomyManager
-
- decRef() - Method in class org.apache.lucene.facet.taxonomy.TaxonomyReader
-
Expert: decreases the refCount of this TaxonomyReader instance.
- dedupAndEncode(IntsRef) - Method in class org.apache.lucene.facet.FacetsConfig
-
Encodes ordinals into a BytesRef; expert: subclass can
override this to change encoding.
- DEFAULT_DIM_CONFIG - Static variable in class org.apache.lucene.facet.FacetsConfig
-
Default per-dimension configuration.
- DEFAULT_INDEX_FIELD_NAME - Static variable in class org.apache.lucene.facet.FacetsConfig
-
Which Lucene field holds the drill-downs and ords (as
doc values).
- DefaultSortedSetDocValuesReaderState - Class in org.apache.lucene.facet.sortedset
-
- DefaultSortedSetDocValuesReaderState(IndexReader) - Constructor for class org.apache.lucene.facet.sortedset.DefaultSortedSetDocValuesReaderState
-
- DefaultSortedSetDocValuesReaderState(IndexReader, String) - Constructor for class org.apache.lucene.facet.sortedset.DefaultSortedSetDocValuesReaderState
-
Creates this, pulling doc values from the specified
field.
- defaultTaxonomyWriterCache() - Static method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter
-
- dim - Variable in class org.apache.lucene.facet.FacetField
-
Dimension for this field.
- dim - Variable in class org.apache.lucene.facet.FacetResult
-
Dimension that was requested.
- dim - Variable in class org.apache.lucene.facet.sortedset.SortedSetDocValuesFacetField
-
Dimension.
- dim - Variable in class org.apache.lucene.facet.taxonomy.AssociationFacetField
-
Dimension for this field.
- DimConfig() - Constructor for class org.apache.lucene.facet.FacetsConfig.DimConfig
-
Default constructor.
- DirectoryTaxonomyReader - Class in org.apache.lucene.facet.taxonomy.directory
-
A
TaxonomyReader which retrieves stored taxonomy information from a
Directory.
- DirectoryTaxonomyReader(Directory) - Constructor for class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyReader
-
Open for reading a taxonomy stored in a given Directory.
- DirectoryTaxonomyWriter - Class in org.apache.lucene.facet.taxonomy.directory
-
TaxonomyWriter which uses a
Directory to store the taxonomy
information on disk, and keeps an additional in-memory cache of some or all
categories.
- DirectoryTaxonomyWriter(Directory, OpenMode, TaxonomyWriterCache) - Constructor for class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter
-
Construct a Taxonomy writer.
- DirectoryTaxonomyWriter(Directory, OpenMode) - Constructor for class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter
-
- DirectoryTaxonomyWriter(Directory) - Constructor for class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter
-
Create this with OpenMode.CREATE_OR_APPEND.
- DirectoryTaxonomyWriter.DiskOrdinalMap - Class in org.apache.lucene.facet.taxonomy.directory
-
- DirectoryTaxonomyWriter.MemoryOrdinalMap - Class in org.apache.lucene.facet.taxonomy.directory
-
- DirectoryTaxonomyWriter.OrdinalMap - Interface in org.apache.lucene.facet.taxonomy.directory
-
Mapping from old ordinal to new ordinals, used when merging indexes
with separate taxonomies.
- DiskOrdinalMap(Path) - Constructor for class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter.DiskOrdinalMap
-
Sole constructor.
- doClose() - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyReader
-
- doClose() - Method in class org.apache.lucene.facet.taxonomy.TaxonomyReader
-
performs the actual task of closing the resources that are used by the
taxonomy reader.
- DocValuesOrdinalsReader - Class in org.apache.lucene.facet.taxonomy
-
Decodes ordinals previously indexed into a BinaryDocValues field
- DocValuesOrdinalsReader() - Constructor for class org.apache.lucene.facet.taxonomy.DocValuesOrdinalsReader
-
Default constructor.
- DocValuesOrdinalsReader(String) - Constructor for class org.apache.lucene.facet.taxonomy.DocValuesOrdinalsReader
-
Create this, with the specified indexed field name.
- doOpenIfChanged() - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyReader
-
- doOpenIfChanged() - Method in class org.apache.lucene.facet.taxonomy.TaxonomyReader
-
Implements the actual opening of a new
TaxonomyReader instance if
the taxonomy has changed.
- doSetNextReader(LeafReaderContext) - Method in class org.apache.lucene.facet.FacetsCollector
-
- DoubleRange - Class in org.apache.lucene.facet.range
-
Represents a range over double values.
- DoubleRange(String, double, boolean, double, boolean) - Constructor for class org.apache.lucene.facet.range.DoubleRange
-
Create a DoubleRange.
- DoubleRangeFacetCounts - Class in org.apache.lucene.facet.range
-
Facets implementation that computes counts for
dynamic double ranges from a provided
DoubleValuesSource.
- DoubleRangeFacetCounts(String, FacetsCollector, DoubleRange...) - Constructor for class org.apache.lucene.facet.range.DoubleRangeFacetCounts
-
Create RangeFacetCounts, using DoubleValues from the specified field.
- DoubleRangeFacetCounts(String, DoubleValuesSource, FacetsCollector, DoubleRange...) - Constructor for class org.apache.lucene.facet.range.DoubleRangeFacetCounts
-
Create RangeFacetCounts using the provided DoubleValuesSource
- DoubleRangeFacetCounts(String, DoubleValuesSource, FacetsCollector, Query, DoubleRange...) - Constructor for class org.apache.lucene.facet.range.DoubleRangeFacetCounts
-
Create RangeFacetCounts, using the provided
DoubleValuesSource, and using the provided Query as
a fastmatch: only documents matching the query are
checked for the matching ranges.
- DrillDownQuery - Class in org.apache.lucene.facet
-
A Query for drill-down over facet categories.
- DrillDownQuery(FacetsConfig) - Constructor for class org.apache.lucene.facet.DrillDownQuery
-
Creates a new DrillDownQuery without a base query,
to perform a pure browsing query (equivalent to using
MatchAllDocsQuery as base).
- DrillDownQuery(FacetsConfig, Query) - Constructor for class org.apache.lucene.facet.DrillDownQuery
-
Creates a new DrillDownQuery over the given base query.
- DrillSideways - Class in org.apache.lucene.facet
-
Computes drill down and sideways counts for the provided
DrillDownQuery.
- DrillSideways(IndexSearcher, FacetsConfig, TaxonomyReader) - Constructor for class org.apache.lucene.facet.DrillSideways
-
Create a new DrillSideways instance.
- DrillSideways(IndexSearcher, FacetsConfig, SortedSetDocValuesReaderState) - Constructor for class org.apache.lucene.facet.DrillSideways
-
- DrillSideways(IndexSearcher, FacetsConfig, TaxonomyReader, SortedSetDocValuesReaderState) - Constructor for class org.apache.lucene.facet.DrillSideways
-
- DrillSideways(IndexSearcher, FacetsConfig, TaxonomyReader, SortedSetDocValuesReaderState, ExecutorService) - Constructor for class org.apache.lucene.facet.DrillSideways
-
- DrillSideways.ConcurrentDrillSidewaysResult<R> - Class in org.apache.lucene.facet
-
Result of a concurrent drill sideways search, including the
Facets and
TopDocs.
- DrillSideways.DrillSidewaysResult - Class in org.apache.lucene.facet
-
Result of a drill sideways search, including the
Facets and
TopDocs.
- DrillSidewaysResult(Facets, TopDocs) - Constructor for class org.apache.lucene.facet.DrillSideways.DrillSidewaysResult
-
Sole constructor.
- FacetField - Class in org.apache.lucene.facet
-
Add an instance of this to your Document for every facet label.
- FacetField(String, String...) - Constructor for class org.apache.lucene.facet.FacetField
-
Creates the this from dim and
path.
- FacetLabel - Class in org.apache.lucene.facet.taxonomy
-
Holds a sequence of string components, specifying the hierarchical name of a
category.
- FacetLabel(String...) - Constructor for class org.apache.lucene.facet.taxonomy.FacetLabel
-
Construct from the given path components.
- FacetLabel(String, String[]) - Constructor for class org.apache.lucene.facet.taxonomy.FacetLabel
-
Construct from the dimension plus the given path components.
- FacetQuery - Class in org.apache.lucene.facet
-
- FacetQuery(FacetsConfig, String, String...) - Constructor for class org.apache.lucene.facet.FacetQuery
-
Creates a new FacetQuery filtering the query on the given dimension.
- FacetQuery(String, String...) - Constructor for class org.apache.lucene.facet.FacetQuery
-
Creates a new FacetQuery filtering the query on the given dimension.
- FacetResult - Class in org.apache.lucene.facet
-
Counts or aggregates for a single dimension.
- FacetResult(String, String[], Number, LabelAndValue[], int) - Constructor for class org.apache.lucene.facet.FacetResult
-
Sole constructor.
- facets - Variable in class org.apache.lucene.facet.DrillSideways.DrillSidewaysResult
-
Combined drill down and sideways results.
- Facets - Class in org.apache.lucene.facet
-
Common base class for all facets implementations.
- Facets() - Constructor for class org.apache.lucene.facet.Facets
-
Default constructor.
- FacetsCollector - Class in org.apache.lucene.facet
-
Collects hits for subsequent faceting.
- FacetsCollector() - Constructor for class org.apache.lucene.facet.FacetsCollector
-
Default constructor
- FacetsCollector(boolean) - Constructor for class org.apache.lucene.facet.FacetsCollector
-
Create this; if keepScores is true then a
float[] is allocated to hold score of all hits.
- FacetsCollector.MatchingDocs - Class in org.apache.lucene.facet
-
Holds the documents that were matched in the org.apache.lucene.index.LeafReaderContext.
- FacetsCollectorManager - Class in org.apache.lucene.facet
-
A CollectorManager implementation which produces FacetsCollector and produces a merged FacetsCollector.
- FacetsCollectorManager() - Constructor for class org.apache.lucene.facet.FacetsCollectorManager
-
Sole constructor.
- FacetsConfig - Class in org.apache.lucene.facet
-
Records per-dimension configuration.
- FacetsConfig() - Constructor for class org.apache.lucene.facet.FacetsConfig
-
Default constructor.
- FacetsConfig.DimConfig - Class in org.apache.lucene.facet
-
Holds the configuration for one dimension
- failNoMatch() - Method in class org.apache.lucene.facet.range.Range
-
Invoke this for a useless range.
- FastTaxonomyFacetCounts - Class in org.apache.lucene.facet.taxonomy
-
Computes facets counts, assuming the default encoding
into DocValues was used.
- FastTaxonomyFacetCounts(TaxonomyReader, FacetsConfig, FacetsCollector) - Constructor for class org.apache.lucene.facet.taxonomy.FastTaxonomyFacetCounts
-
Create FastTaxonomyFacetCounts, which also
counts all facet labels.
- FastTaxonomyFacetCounts(String, TaxonomyReader, FacetsConfig, FacetsCollector) - Constructor for class org.apache.lucene.facet.taxonomy.FastTaxonomyFacetCounts
-
Create FastTaxonomyFacetCounts, using the
specified indexFieldName for ordinals.
- FastTaxonomyFacetCounts(String, IndexReader, TaxonomyReader, FacetsConfig) - Constructor for class org.apache.lucene.facet.taxonomy.FastTaxonomyFacetCounts
-
Create FastTaxonomyFacetCounts, using the
specified indexFieldName for ordinals, and
counting all non-deleted documents in the index.
- findCategory(FacetLabel) - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter
-
Look up the given category in the cache and/or the on-disk storage,
returning the category's ordinal, or a negative number in case the
category does not yet exist in the taxonomy.
- FloatAssociationFacetField - Class in org.apache.lucene.facet.taxonomy
-
Add an instance of this to your Document to add
a facet label associated with a float.
- FloatAssociationFacetField(float, String, String...) - Constructor for class org.apache.lucene.facet.taxonomy.FloatAssociationFacetField
-
Creates this from dim and path and a
float association
- FloatTaxonomyFacets - Class in org.apache.lucene.facet.taxonomy
-
Base class for all taxonomy-based facets that aggregate
to a per-ords float[].
- FloatTaxonomyFacets(String, TaxonomyReader, FacetsConfig) - Constructor for class org.apache.lucene.facet.taxonomy.FloatTaxonomyFacets
-
Sole constructor.
- floatToBytesRef(float) - Static method in class org.apache.lucene.facet.taxonomy.FloatAssociationFacetField
-
Encodes a float as a 4-byte BytesRef.
- get(int, IntsRef) - Method in class org.apache.lucene.facet.taxonomy.OrdinalsReader.OrdinalsSegmentReader
-
Get the ordinals for this document.
- get(FacetLabel) - Method in class org.apache.lucene.facet.taxonomy.writercache.LruTaxonomyWriterCache
-
- get(FacetLabel) - Method in interface org.apache.lucene.facet.taxonomy.writercache.TaxonomyWriterCache
-
Lookup a category in the cache, returning its ordinal, or a negative
number if the category is not in the cache.
- get(FacetLabel) - Method in class org.apache.lucene.facet.taxonomy.writercache.UTF8TaxonomyWriterCache
-
- getAllChildrenSortByValue() - Method in class org.apache.lucene.facet.LongValueFacetCounts
-
Returns all unique values seen, sorted by value.
- getAllDims(int) - Method in class org.apache.lucene.facet.Facets
-
Returns topN labels for any dimension that had hits,
sorted by the number of hits that dimension matched;
this is used for "sparse" faceting, where many
different dimensions were indexed, for example
depending on the type of document.
- getAllDims(int) - Method in class org.apache.lucene.facet.LongValueFacetCounts
-
- getAllDims(int) - Method in class org.apache.lucene.facet.MultiFacets
-
- getAllDims(int) - Method in class org.apache.lucene.facet.sortedset.ConcurrentSortedSetDocValuesFacetCounts
-
- getAllDims(int) - Method in class org.apache.lucene.facet.sortedset.SortedSetDocValuesFacetCounts
-
- getAllDims(int) - Method in class org.apache.lucene.facet.taxonomy.TaxonomyFacets
-
- getBinaryDocValues(String) - Method in class org.apache.lucene.facet.taxonomy.OrdinalMappingLeafReader
-
- getCache() - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter
-
- getChildren() - Method in class org.apache.lucene.facet.taxonomy.TaxonomyFacets
-
Returns int[] mapping each ordinal to its first child; this is a large array and
is computed (and then saved) the first time this method is invoked.
- getChildren(int) - Method in class org.apache.lucene.facet.taxonomy.TaxonomyReader
-
Returns an iterator over the children of the given ordinal.
- getChildResources() - Method in class org.apache.lucene.facet.sortedset.DefaultSortedSetDocValuesReaderState
-
Returns nested resources of this class.
- getChildResources() - Method in class org.apache.lucene.facet.taxonomy.CachedOrdinalsReader
-
- getChildResources() - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyReader
-
- getCommitUserData() - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyReader
-
- getCommitUserData() - Method in class org.apache.lucene.facet.taxonomy.TaxonomyReader
-
Retrieve user committed data.
- getCoreCacheHelper() - Method in class org.apache.lucene.facet.taxonomy.OrdinalMappingLeafReader
-
- getDefaultDimConfig() - Method in class org.apache.lucene.facet.FacetsConfig
-
Get the default configuration for new dimensions.
- getDimConfig(String) - Method in class org.apache.lucene.facet.FacetsConfig
-
Get the current configuration for a dimension.
- getDimConfigs() - Method in class org.apache.lucene.facet.FacetsConfig
-
- getDirectory() - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter
-
Returns the Directory of this taxonomy writer.
- getDocValues() - Method in class org.apache.lucene.facet.sortedset.DefaultSortedSetDocValuesReaderState
-
Return top-level doc values.
- getDocValues() - Method in class org.apache.lucene.facet.sortedset.SortedSetDocValuesReaderState
-
Return top-level doc values.
- getField() - Method in class org.apache.lucene.facet.sortedset.DefaultSortedSetDocValuesReaderState
-
Indexed field we are reading.
- getField() - Method in class org.apache.lucene.facet.sortedset.SortedSetDocValuesReaderState
-
Indexed field we are reading.
- getIndexFieldName() - Method in class org.apache.lucene.facet.taxonomy.CachedOrdinalsReader
-
- getIndexFieldName() - Method in class org.apache.lucene.facet.taxonomy.DocValuesOrdinalsReader
-
- getIndexFieldName() - Method in class org.apache.lucene.facet.taxonomy.OrdinalsReader
-
Returns the indexed field name this OrdinalsReader is reading from.
- getKeepScores() - Method in class org.apache.lucene.facet.FacetsCollector
-
True if scores were saved.
- getLiveCommitData() - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter
-
- getLiveCommitData() - Method in interface org.apache.lucene.facet.taxonomy.TaxonomyWriter
-
- getMap() - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter.DiskOrdinalMap
-
- getMap() - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter.MemoryOrdinalMap
-
- getMap() - Method in interface org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter.OrdinalMap
-
Return the map from the taxonomy's original (consecutive) ordinals
to the new taxonomy's ordinals.
- getMatchingDocs() - Method in class org.apache.lucene.facet.FacetsCollector
-
- getMatchingDocs() - Method in class org.apache.lucene.facet.RandomSamplingFacetsCollector
-
Returns the sampled list of the matching documents.
- getMaxOrdinal() - Method in class org.apache.lucene.facet.taxonomy.writercache.LabelToOrdinal
-
return the maximal Ordinal assigned so far
- getMaxSize() - Method in class org.apache.lucene.facet.taxonomy.LRUHashMap
-
Return the max size
- getNextOrdinal() - Method in class org.apache.lucene.facet.taxonomy.writercache.LabelToOrdinal
-
Returns the next unassigned ordinal.
- getOrdinal(FacetLabel) - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyReader
-
- getOrdinal(FacetLabel) - Method in class org.apache.lucene.facet.taxonomy.TaxonomyReader
-
Returns the ordinal of the category given as a path.
- getOrdinal(String, String[]) - Method in class org.apache.lucene.facet.taxonomy.TaxonomyReader
-
Returns ordinal for the dim + path.
- getOrdinal(FacetLabel) - Method in class org.apache.lucene.facet.taxonomy.writercache.LabelToOrdinal
-
- getOrdinalsReader(String) - Method in class org.apache.lucene.facet.taxonomy.OrdinalMappingLeafReader
-
Expert: override in case you used custom encoding for the categories under
this field.
- getOrdRange(String) - Method in class org.apache.lucene.facet.sortedset.DefaultSortedSetDocValuesReaderState
-
- getOrdRange(String) - Method in class org.apache.lucene.facet.sortedset.SortedSetDocValuesReaderState
-
- getOriginalMatchingDocs() - Method in class org.apache.lucene.facet.RandomSamplingFacetsCollector
-
Returns the original matching documents.
- getParallelTaxonomyArrays() - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyReader
-
- getParallelTaxonomyArrays() - Method in class org.apache.lucene.facet.taxonomy.TaxonomyReader
-
- getParent(int) - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter
-
- getParent(int) - Method in interface org.apache.lucene.facet.taxonomy.TaxonomyWriter
-
getParent() returns the ordinal of the parent category of the category
with the given ordinal.
- getPath(int) - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyReader
-
- getPath(int) - Method in class org.apache.lucene.facet.taxonomy.TaxonomyReader
-
Returns the path name of the category with the given ordinal.
- getPrefixToOrdRange() - Method in class org.apache.lucene.facet.sortedset.DefaultSortedSetDocValuesReaderState
-
- getPrefixToOrdRange() - Method in class org.apache.lucene.facet.sortedset.SortedSetDocValuesReaderState
-
- getQuery(Query, DoubleValuesSource) - Method in class org.apache.lucene.facet.range.DoubleRange
-
Create a Query that matches documents in this range
The query will check all documents that match the provided match query,
or every document in the index if the match query is null.
- getQuery(Query, LongValuesSource) - Method in class org.apache.lucene.facet.range.LongRange
-
Create a Query that matches documents in this range
The query will check all documents that match the provided match query,
or every document in the index if the match query is null.
- getReader() - Method in class org.apache.lucene.facet.sortedset.DefaultSortedSetDocValuesReaderState
-
- getReader() - Method in class org.apache.lucene.facet.sortedset.SortedSetDocValuesReaderState
-
Returns top-level index reader.
- getReader(LeafReaderContext) - Method in class org.apache.lucene.facet.taxonomy.CachedOrdinalsReader
-
- getReader(LeafReaderContext) - Method in class org.apache.lucene.facet.taxonomy.DocValuesOrdinalsReader
-
- getReader(LeafReaderContext) - Method in class org.apache.lucene.facet.taxonomy.OrdinalsReader
-
Set current atomic reader.
- getReaderCacheHelper() - Method in class org.apache.lucene.facet.taxonomy.OrdinalMappingLeafReader
-
- getRefCount(SearcherTaxonomyManager.SearcherAndTaxonomy) - Method in class org.apache.lucene.facet.taxonomy.SearcherTaxonomyManager
-
- getRefCount() - Method in class org.apache.lucene.facet.taxonomy.TaxonomyReader
-
Returns the current refCount for this taxonomy reader.
- getSamplingRate() - Method in class org.apache.lucene.facet.RandomSamplingFacetsCollector
-
Returns the sampling rate that was used.
- getSiblings() - Method in class org.apache.lucene.facet.taxonomy.TaxonomyFacets
-
Returns int[] mapping each ordinal to its next sibling; this is a large array and
is computed (and then saved) the first time this method is invoked.
- getSize() - Method in class org.apache.lucene.facet.sortedset.DefaultSortedSetDocValuesReaderState
-
Number of unique labels.
- getSize() - Method in class org.apache.lucene.facet.sortedset.SortedSetDocValuesReaderState
-
Number of unique labels.
- getSize() - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyReader
-
- getSize() - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter
-
- getSize() - Method in class org.apache.lucene.facet.taxonomy.TaxonomyReader
-
Returns the number of categories in the taxonomy.
- getSize() - Method in interface org.apache.lucene.facet.taxonomy.TaxonomyWriter
-
getSize() returns the number of categories in the taxonomy.
- getSpecificValue(String, String...) - Method in class org.apache.lucene.facet.Facets
-
Return the count or value
for a specific path.
- getSpecificValue(String, String...) - Method in class org.apache.lucene.facet.LongValueFacetCounts
-
- getSpecificValue(String, String...) - Method in class org.apache.lucene.facet.MultiFacets
-
- getSpecificValue(String, String...) - Method in class org.apache.lucene.facet.sortedset.ConcurrentSortedSetDocValuesFacetCounts
-
- getSpecificValue(String, String...) - Method in class org.apache.lucene.facet.sortedset.SortedSetDocValuesFacetCounts
-
- getSpecificValue(String, String...) - Method in class org.apache.lucene.facet.taxonomy.FloatTaxonomyFacets
-
- getSpecificValue(String, String...) - Method in class org.apache.lucene.facet.taxonomy.IntTaxonomyFacets
-
- getTaxonomyEpoch() - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter
-
Expert: returns current index epoch, if this is a
near-real-time reader.
- getTopChildren(int, String, String...) - Method in class org.apache.lucene.facet.Facets
-
Returns the topN child labels under the specified
path.
- getTopChildren(int, String, String...) - Method in class org.apache.lucene.facet.LongValueFacetCounts
-
- getTopChildren(int, String, String...) - Method in class org.apache.lucene.facet.MultiFacets
-
- getTopChildren(int, String, String...) - Method in class org.apache.lucene.facet.sortedset.ConcurrentSortedSetDocValuesFacetCounts
-
- getTopChildren(int, String, String...) - Method in class org.apache.lucene.facet.sortedset.SortedSetDocValuesFacetCounts
-
- getTopChildren(int, String, String...) - Method in class org.apache.lucene.facet.taxonomy.FloatTaxonomyFacets
-
- getTopChildren(int, String, String...) - Method in class org.apache.lucene.facet.taxonomy.IntTaxonomyFacets
-
- getTopChildrenSortByCount(int) - Method in class org.apache.lucene.facet.LongValueFacetCounts
-
Returns the specified top number of facets, sorted by count.
- label - Variable in class org.apache.lucene.facet.LabelAndValue
-
Facet's label.
- label - Variable in class org.apache.lucene.facet.range.Range
-
Label that identifies this range.
- label - Variable in class org.apache.lucene.facet.sortedset.SortedSetDocValuesFacetField
-
Label.
- LabelAndValue - Class in org.apache.lucene.facet
-
Single label and its value, usually contained in a
FacetResult.
- LabelAndValue(String, Number) - Constructor for class org.apache.lucene.facet.LabelAndValue
-
Sole constructor.
- LabelToOrdinal - Class in org.apache.lucene.facet.taxonomy.writercache
-
Abstract class for storing Label->Ordinal mappings in a taxonomy.
- LabelToOrdinal() - Constructor for class org.apache.lucene.facet.taxonomy.writercache.LabelToOrdinal
-
Default constructor.
- labelValues - Variable in class org.apache.lucene.facet.FacetResult
-
Child counts.
- length - Variable in class org.apache.lucene.facet.taxonomy.FacetLabel
-
- lessThan(TopOrdAndFloatQueue.OrdAndValue, TopOrdAndFloatQueue.OrdAndValue) - Method in class org.apache.lucene.facet.TopOrdAndFloatQueue
-
- lessThan(TopOrdAndIntQueue.OrdAndValue, TopOrdAndIntQueue.OrdAndValue) - Method in class org.apache.lucene.facet.TopOrdAndIntQueue
-
- longHashCode() - Method in class org.apache.lucene.facet.taxonomy.FacetLabel
-
Calculate a 64-bit hash function for this path.
- LongRange - Class in org.apache.lucene.facet.range
-
Represents a range over long values.
- LongRange(String, long, boolean, long, boolean) - Constructor for class org.apache.lucene.facet.range.LongRange
-
Create a LongRange.
- LongRangeFacetCounts - Class in org.apache.lucene.facet.range
-
Facets implementation that computes counts for
dynamic long ranges from a provided
LongValuesSource.
- LongRangeFacetCounts(String, FacetsCollector, LongRange...) - Constructor for class org.apache.lucene.facet.range.LongRangeFacetCounts
-
Create LongRangeFacetCounts, using LongValuesSource from the specified field.
- LongRangeFacetCounts(String, LongValuesSource, FacetsCollector, LongRange...) - Constructor for class org.apache.lucene.facet.range.LongRangeFacetCounts
-
Create LongRangeFacetCounts, using the provided
LongValuesSource.
- LongRangeFacetCounts(String, LongValuesSource, FacetsCollector, Query, LongRange...) - Constructor for class org.apache.lucene.facet.range.LongRangeFacetCounts
-
Create LongRangeFacetCounts, using the provided
LongValuesSource, and using the provided Filter as
a fastmatch: only documents passing the filter are
checked for the matching ranges, which is helpful when
the provided LongValuesSource is costly per-document,
such as a geo distance.
- LongValueFacetCounts - Class in org.apache.lucene.facet
-
Facets implementation that computes counts for
all unique long values, more efficiently counting small values (0-1023) using an int array,
and switching to a
HashMap for values above 1023.
- LongValueFacetCounts(String, FacetsCollector, boolean) - Constructor for class org.apache.lucene.facet.LongValueFacetCounts
-
Create LongValueFacetCounts, using either single-valued NumericDocValues or multi-valued SortedNumericDocValues from the
specified field.
- LongValueFacetCounts(String, LongValuesSource, FacetsCollector) - Constructor for class org.apache.lucene.facet.LongValueFacetCounts
-
Create LongValueFacetCounts, using the provided
LongValuesSource.
- LongValueFacetCounts(String, LongValuesSource, FacetsCollector, boolean) - Constructor for class org.apache.lucene.facet.LongValueFacetCounts
-
Create LongValueFacetCounts, using the provided
LongValuesSource.
- LongValueFacetCounts(String, IndexReader, boolean) - Constructor for class org.apache.lucene.facet.LongValueFacetCounts
-
Counts all facet values for this reader.
- LongValueFacetCounts(String, LongValuesSource, IndexReader) - Constructor for class org.apache.lucene.facet.LongValueFacetCounts
-
Counts all facet values for the provided LongValuesSource.
- LRUHashMap<K,V> - Class in org.apache.lucene.facet.taxonomy
-
LRUHashMap is an extension of Java's HashMap, which has a bounded size();
When it reaches that size, each time a new element is added, the least
recently used (LRU) entry is removed.
- LRUHashMap(int) - Constructor for class org.apache.lucene.facet.taxonomy.LRUHashMap
-
Create a new hash map with a bounded size and with least recently
used entries removed.
- LruTaxonomyWriterCache - Class in org.apache.lucene.facet.taxonomy.writercache
-
- LruTaxonomyWriterCache(int) - Constructor for class org.apache.lucene.facet.taxonomy.writercache.LruTaxonomyWriterCache
-
- LruTaxonomyWriterCache(int, LruTaxonomyWriterCache.LRUType) - Constructor for class org.apache.lucene.facet.taxonomy.writercache.LruTaxonomyWriterCache
-
Creates this with the specified method.
- LruTaxonomyWriterCache.LRUType - Enum in org.apache.lucene.facet.taxonomy.writercache
-
Determines cache type.
- ParallelTaxonomyArrays - Class in org.apache.lucene.facet.taxonomy
-
Returns 3 arrays for traversing the taxonomy:
parents: parents[i] denotes the parent of category
ordinal i.
children: children[i] denotes a child of category ordinal
i.
siblings: siblings[i] denotes the sibling of category
ordinal i.
To traverse the taxonomy tree, you typically start with children[0]
(ordinal 0 is reserved for ROOT), and then depends if you want to do DFS or
BFS, you call children[children[0]] or siblings[children[0]]
and so forth, respectively.
- ParallelTaxonomyArrays() - Constructor for class org.apache.lucene.facet.taxonomy.ParallelTaxonomyArrays
-
Sole constructor.
- parents() - Method in class org.apache.lucene.facet.taxonomy.ParallelTaxonomyArrays
-
Returns the parents array, where parents[i] denotes the parent of
category ordinal i.
- parents - Variable in class org.apache.lucene.facet.taxonomy.TaxonomyFacets
-
Maps an ordinal to its parent, or -1 if there is no
parent (root node).
- path - Variable in class org.apache.lucene.facet.FacetField
-
Path for this field.
- path - Variable in class org.apache.lucene.facet.FacetResult
-
Path whose children were requested.
- path - Variable in class org.apache.lucene.facet.taxonomy.AssociationFacetField
-
Facet path for this field.
- pathToString(String, String[]) - Static method in class org.apache.lucene.facet.FacetsConfig
-
Turns a dim + path into an encoded string.
- pathToString(String[]) - Static method in class org.apache.lucene.facet.FacetsConfig
-
Turns a dim + path into an encoded string.
- pathToString(String[], int) - Static method in class org.apache.lucene.facet.FacetsConfig
-
Turns the first length elements of path into an encoded string.
- prepareCommit() - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter
-
prepare most of the work needed for a two-phase commit.
- printStats(TaxonomyReader, PrintStream, boolean) - Static method in class org.apache.lucene.facet.taxonomy.PrintTaxonomyStats
-
Recursively prints stats for all ordinals.
- PrintTaxonomyStats - Class in org.apache.lucene.facet.taxonomy
-
Prints how many ords are under each dimension.
- PrintTaxonomyStats() - Constructor for class org.apache.lucene.facet.taxonomy.PrintTaxonomyStats
-
Sole constructor.
- put(FacetLabel, int) - Method in class org.apache.lucene.facet.taxonomy.writercache.LruTaxonomyWriterCache
-
- put(FacetLabel, int) - Method in interface org.apache.lucene.facet.taxonomy.writercache.TaxonomyWriterCache
-
Add a category to the cache, with the given ordinal as the value.
- put(FacetLabel, int) - Method in class org.apache.lucene.facet.taxonomy.writercache.UTF8TaxonomyWriterCache
-
- ramBytesUsed() - Method in class org.apache.lucene.facet.sortedset.DefaultSortedSetDocValuesReaderState
-
Return the memory usage of this object in bytes.
- ramBytesUsed() - Method in class org.apache.lucene.facet.taxonomy.CachedOrdinalsReader.CachedOrds
-
- ramBytesUsed() - Method in class org.apache.lucene.facet.taxonomy.CachedOrdinalsReader
-
- ramBytesUsed() - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyReader
-
- ramBytesUsed() - Method in class org.apache.lucene.facet.taxonomy.writercache.UTF8TaxonomyWriterCache
-
- RandomSamplingFacetsCollector - Class in org.apache.lucene.facet
-
Collects hits for subsequent faceting, using sampling if needed.
- RandomSamplingFacetsCollector(int) - Constructor for class org.apache.lucene.facet.RandomSamplingFacetsCollector
-
Constructor with the given sample size and default seed.
- RandomSamplingFacetsCollector(int, long) - Constructor for class org.apache.lucene.facet.RandomSamplingFacetsCollector
-
Constructor with the given sample size and seed.
- Range - Class in org.apache.lucene.facet.range
-
Base class for a single labeled range.
- Range(String) - Constructor for class org.apache.lucene.facet.range.Range
-
Sole constructor.
- reader - Variable in class org.apache.lucene.facet.sortedset.DefaultSortedSetDocValuesReaderState
-
IndexReader passed to the constructor.
- reduce(Collection<FacetsCollector>) - Method in class org.apache.lucene.facet.FacetsCollectorManager
-
- refreshIfNeeded(SearcherTaxonomyManager.SearcherAndTaxonomy) - Method in class org.apache.lucene.facet.taxonomy.SearcherTaxonomyManager
-
- removeEldestEntry(Map.Entry<K, V>) - Method in class org.apache.lucene.facet.taxonomy.LRUHashMap
-
- replaceTaxonomy(Directory) - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter
-
Replaces the current taxonomy with the given one.
- requireDimCount - Variable in class org.apache.lucene.facet.FacetsConfig.DimConfig
-
True if the count/aggregate for the entire dimension
is required, which is unusual (default is false).
- requireDimensionDrillDown - Variable in class org.apache.lucene.facet.FacetsConfig.DimConfig
-
True if drilling down by a whole dimension, to match all
documents that had any value for this dimension, is necessary
(default is true)
- rewrite(IndexReader) - Method in class org.apache.lucene.facet.DrillDownQuery
-
- rollback() - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter
-
Rollback changes to the taxonomy writer and closes the instance.
- rollup() - Method in class org.apache.lucene.facet.taxonomy.FloatTaxonomyFacets
-
Rolls up any single-valued hierarchical dimensions.
- rollup() - Method in class org.apache.lucene.facet.taxonomy.IntTaxonomyFacets
-
Rolls up any single-valued hierarchical dimensions.
- ROOT_ORDINAL - Static variable in class org.apache.lucene.facet.taxonomy.TaxonomyReader
-
The root category (the category with the empty path) always has the ordinal
0, to which we give a name ROOT_ORDINAL.
- scoreMode() - Method in class org.apache.lucene.facet.FacetsCollector
-
- scores - Variable in class org.apache.lucene.facet.FacetsCollector.MatchingDocs
-
Non-sparse scores array.
- scoreSubDocsAtOnce() - Method in class org.apache.lucene.facet.DrillSideways
-
Override this and return true if your collector
(e.g., ToParentBlockJoinCollector) expects all
sub-scorers to be positioned on the document being
collected.
- search(DrillDownQuery, Collector) - Method in class org.apache.lucene.facet.DrillSideways
-
Search, collecting hits with a Collector, and
computing drill down and sideways counts.
- search(DrillDownQuery, Query, FieldDoc, int, Sort, boolean) - Method in class org.apache.lucene.facet.DrillSideways
-
Search, sorting by Sort, and computing
drill down and sideways counts.
- search(ScoreDoc, DrillDownQuery, int) - Method in class org.apache.lucene.facet.DrillSideways
-
Search, sorting by score, and computing
drill down and sideways counts.
- search(DrillDownQuery, <any>) - Method in class org.apache.lucene.facet.DrillSideways
-
Runs a search, using a CollectorManager to gather and merge search results
- search(IndexSearcher, Query, int, Collector) - Static method in class org.apache.lucene.facet.FacetsCollector
-
Utility method, to search and also collect all hits
into the provided Collector.
- search(IndexSearcher, Query, int, Sort, Collector) - Static method in class org.apache.lucene.facet.FacetsCollector
-
Utility method, to search and also collect all hits
into the provided Collector.
- search(IndexSearcher, Query, int, Sort, boolean, Collector) - Static method in class org.apache.lucene.facet.FacetsCollector
-
Utility method, to search and also collect all hits
into the provided Collector.
- searchAfter(IndexSearcher, ScoreDoc, Query, int, Collector) - Static method in class org.apache.lucene.facet.FacetsCollector
-
Utility method, to search and also collect all hits
into the provided Collector.
- searchAfter(IndexSearcher, ScoreDoc, Query, int, Sort, Collector) - Static method in class org.apache.lucene.facet.FacetsCollector
-
Utility method, to search and also collect all hits
into the provided Collector.
- searchAfter(IndexSearcher, ScoreDoc, Query, int, Sort, boolean, Collector) - Static method in class org.apache.lucene.facet.FacetsCollector
-
Utility method, to search and also collect all hits
into the provided Collector.
- searcher - Variable in class org.apache.lucene.facet.DrillSideways
-
IndexSearcher passed to constructor.
- searcher - Variable in class org.apache.lucene.facet.taxonomy.SearcherTaxonomyManager.SearcherAndTaxonomy
-
Point-in-time IndexSearcher.
- SearcherAndTaxonomy(IndexSearcher, DirectoryTaxonomyReader) - Constructor for class org.apache.lucene.facet.taxonomy.SearcherTaxonomyManager.SearcherAndTaxonomy
-
Create a SearcherAndTaxonomy
- SearcherTaxonomyManager - Class in org.apache.lucene.facet.taxonomy
-
Manages near-real-time reopen of both an IndexSearcher
and a TaxonomyReader.
- SearcherTaxonomyManager(IndexWriter, SearcherFactory, DirectoryTaxonomyWriter) - Constructor for class org.apache.lucene.facet.taxonomy.SearcherTaxonomyManager
-
Creates near-real-time searcher and taxonomy reader
from the corresponding writers.
- SearcherTaxonomyManager(IndexWriter, boolean, SearcherFactory, DirectoryTaxonomyWriter) - Constructor for class org.apache.lucene.facet.taxonomy.SearcherTaxonomyManager
-
Expert: creates near-real-time searcher and taxonomy reader
from the corresponding writers, controlling whether deletes should be applied.
- SearcherTaxonomyManager(Directory, Directory, SearcherFactory) - Constructor for class org.apache.lucene.facet.taxonomy.SearcherTaxonomyManager
-
Creates search and taxonomy readers over the corresponding directories.
- SearcherTaxonomyManager(IndexReader, DirectoryTaxonomyReader, SearcherFactory) - Constructor for class org.apache.lucene.facet.taxonomy.SearcherTaxonomyManager
-
- SearcherTaxonomyManager.SearcherAndTaxonomy - Class in org.apache.lucene.facet.taxonomy
-
- setCacheMissesUntilFill(int) - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter
-
Set the number of cache misses before an attempt is made to read the entire
taxonomy into the in-memory cache.
- setCacheSize(int) - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyReader
-
- setHierarchical(String, boolean) - Method in class org.apache.lucene.facet.FacetsConfig
-
Pass true if this dimension is hierarchical
(has depth > 1 paths).
- setIndexFieldName(String, String) - Method in class org.apache.lucene.facet.FacetsConfig
-
Specify which index field name should hold the
ordinals for this dimension; this is only used by the
taxonomy based facet methods.
- setLiveCommitData(Iterable<Map.Entry<String, String>>) - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter
-
- setLiveCommitData(Iterable<Map.Entry<String, String>>) - Method in interface org.apache.lucene.facet.taxonomy.TaxonomyWriter
-
Sets the commit user data iterable.
- setMaxSize(int) - Method in class org.apache.lucene.facet.taxonomy.LRUHashMap
-
setMaxSize() allows changing the map's maximal number of elements
which was defined at construction time.
- setMultiValued(String, boolean) - Method in class org.apache.lucene.facet.FacetsConfig
-
Pass true if this dimension may have more than
one value per document.
- setRequireDimCount(String, boolean) - Method in class org.apache.lucene.facet.FacetsConfig
-
Pass true if at search time you require
accurate counts of the dimension, i.e.
- setRequireDimensionDrillDown(String, boolean) - Method in class org.apache.lucene.facet.FacetsConfig
-
Specify whether drill down on just the dimension is necessary.
- setScorer(Scorable) - Method in class org.apache.lucene.facet.FacetsCollector
-
- setSize(int) - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter.DiskOrdinalMap
-
- setSize(int) - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter.MemoryOrdinalMap
-
- setSize(int) - Method in interface org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter.OrdinalMap
-
Set the size of the map.
- siblings() - Method in class org.apache.lucene.facet.taxonomy.ParallelTaxonomyArrays
-
Returns the siblings array, where siblings[i] denotes the sibling
of category ordinal i.
- siblingsLoaded() - Method in class org.apache.lucene.facet.taxonomy.TaxonomyFacets
-
Returns true if the (costly, and lazily initialized) sibling int[] was initialized.
- size() - Method in class org.apache.lucene.facet.taxonomy.writercache.LruTaxonomyWriterCache
-
- size() - Method in interface org.apache.lucene.facet.taxonomy.writercache.TaxonomyWriterCache
-
How many labels are currently stored in the cache.
- size() - Method in class org.apache.lucene.facet.taxonomy.writercache.UTF8TaxonomyWriterCache
-
How many labels are currently stored in the cache.
- SortedSetDocValuesFacetCounts - Class in org.apache.lucene.facet.sortedset
-
- SortedSetDocValuesFacetCounts(SortedSetDocValuesReaderState) - Constructor for class org.apache.lucene.facet.sortedset.SortedSetDocValuesFacetCounts
-
Returns all facet counts, same result as searching on MatchAllDocsQuery but faster.
- SortedSetDocValuesFacetCounts(SortedSetDocValuesReaderState, FacetsCollector) - Constructor for class org.apache.lucene.facet.sortedset.SortedSetDocValuesFacetCounts
-
Counts all facet dimensions across the provided hits.
- SortedSetDocValuesFacetField - Class in org.apache.lucene.facet.sortedset
-
Add an instance of this to your Document for every facet
label to be indexed via SortedSetDocValues.
- SortedSetDocValuesFacetField(String, String) - Constructor for class org.apache.lucene.facet.sortedset.SortedSetDocValuesFacetField
-
Sole constructor.
- SortedSetDocValuesReaderState - Class in org.apache.lucene.facet.sortedset
-
Wraps a IndexReader and resolves ords
using existing SortedSetDocValues APIs without a
separate taxonomy index.
- SortedSetDocValuesReaderState() - Constructor for class org.apache.lucene.facet.sortedset.SortedSetDocValuesReaderState
-
Sole constructor.
- SortedSetDocValuesReaderState.OrdRange - Class in org.apache.lucene.facet.sortedset
-
Holds start/end range of ords, which maps to one
dimension (someday we may generalize it to map to
hierarchies within one dimension).
- start - Variable in class org.apache.lucene.facet.sortedset.SortedSetDocValuesReaderState.OrdRange
-
Start of range, inclusive:
- state - Variable in class org.apache.lucene.facet.DrillSideways
-
- stringToPath(String) - Static method in class org.apache.lucene.facet.FacetsConfig
-
- subpath(int) - Method in class org.apache.lucene.facet.taxonomy.FacetLabel
-
Returns a sub-path of this path up to length components.
- TaxonomyFacetCounts - Class in org.apache.lucene.facet.taxonomy
-
- TaxonomyFacetCounts(OrdinalsReader, TaxonomyReader, FacetsConfig, FacetsCollector) - Constructor for class org.apache.lucene.facet.taxonomy.TaxonomyFacetCounts
-
Create TaxonomyFacetCounts, which also
counts all facet labels.
- TaxonomyFacets - Class in org.apache.lucene.facet.taxonomy
-
Base class for all taxonomy-based facets impls.
- TaxonomyFacets(String, TaxonomyReader, FacetsConfig) - Constructor for class org.apache.lucene.facet.taxonomy.TaxonomyFacets
-
Sole constructor.
- TaxonomyFacetSumFloatAssociations - Class in org.apache.lucene.facet.taxonomy
-
- TaxonomyFacetSumFloatAssociations(TaxonomyReader, FacetsConfig, FacetsCollector) - Constructor for class org.apache.lucene.facet.taxonomy.TaxonomyFacetSumFloatAssociations
-
Create TaxonomyFacetSumFloatAssociations against
the default index field.
- TaxonomyFacetSumFloatAssociations(String, TaxonomyReader, FacetsConfig, FacetsCollector) - Constructor for class org.apache.lucene.facet.taxonomy.TaxonomyFacetSumFloatAssociations
-
Create TaxonomyFacetSumFloatAssociations against
the specified index field.
- TaxonomyFacetSumIntAssociations - Class in org.apache.lucene.facet.taxonomy
-
- TaxonomyFacetSumIntAssociations(TaxonomyReader, FacetsConfig, FacetsCollector) - Constructor for class org.apache.lucene.facet.taxonomy.TaxonomyFacetSumIntAssociations
-
Create TaxonomyFacetSumIntAssociations against
the default index field.
- TaxonomyFacetSumIntAssociations(String, TaxonomyReader, FacetsConfig, FacetsCollector) - Constructor for class org.apache.lucene.facet.taxonomy.TaxonomyFacetSumIntAssociations
-
Create TaxonomyFacetSumIntAssociations against
the specified index field.
- TaxonomyFacetSumValueSource - Class in org.apache.lucene.facet.taxonomy
-
Aggregates sum of values from DoubleValues#doubleValue(), for each facet label.
- TaxonomyFacetSumValueSource(TaxonomyReader, FacetsConfig, FacetsCollector, DoubleValuesSource) - Constructor for class org.apache.lucene.facet.taxonomy.TaxonomyFacetSumValueSource
-
- TaxonomyFacetSumValueSource(OrdinalsReader, TaxonomyReader, FacetsConfig, FacetsCollector, DoubleValuesSource) - Constructor for class org.apache.lucene.facet.taxonomy.TaxonomyFacetSumValueSource
-
Aggreggates float facet values from the provided
DoubleValuesSource, and pulls ordinals from the
provided
OrdinalsReader.
- TaxonomyMergeUtils - Class in org.apache.lucene.facet.taxonomy
-
Utility methods for merging index and taxonomy directories.
- taxonomyReader - Variable in class org.apache.lucene.facet.taxonomy.SearcherTaxonomyManager.SearcherAndTaxonomy
-
- TaxonomyReader - Class in org.apache.lucene.facet.taxonomy
-
TaxonomyReader is the read-only interface with which the faceted-search
library uses the taxonomy during search time.
- TaxonomyReader() - Constructor for class org.apache.lucene.facet.taxonomy.TaxonomyReader
-
Sole constructor.
- TaxonomyReader.ChildrenIterator - Class in org.apache.lucene.facet.taxonomy
-
An iterator over a category's children.
- TaxonomyWriter - Interface in org.apache.lucene.facet.taxonomy
-
TaxonomyWriter is the interface which the faceted-search library uses
to dynamically build the taxonomy at indexing time.
- TaxonomyWriterCache - Interface in org.apache.lucene.facet.taxonomy.writercache
-
TaxonomyWriterCache is a relatively simple interface for a cache of
category->ordinal mappings, used in TaxonomyWriter implementations (such as
DirectoryTaxonomyWriter).
- taxoReader - Variable in class org.apache.lucene.facet.DrillSideways
-
- taxoReader - Variable in class org.apache.lucene.facet.taxonomy.TaxonomyFacets
-
TaxonomyReader provided to the constructor.
- term(String, String, String...) - Static method in class org.apache.lucene.facet.DrillDownQuery
-
Creates a drill-down term.
- TopOrdAndFloatQueue - Class in org.apache.lucene.facet
-
Keeps highest results, first by largest float value,
then tie break by smallest ord.
- TopOrdAndFloatQueue(int) - Constructor for class org.apache.lucene.facet.TopOrdAndFloatQueue
-
Sole constructor.
- TopOrdAndFloatQueue.OrdAndValue - Class in org.apache.lucene.facet
-
Holds a single entry.
- TopOrdAndIntQueue - Class in org.apache.lucene.facet
-
Keeps highest results, first by largest int value,
then tie break by smallest ord.
- TopOrdAndIntQueue(int) - Constructor for class org.apache.lucene.facet.TopOrdAndIntQueue
-
Sole constructor.
- TopOrdAndIntQueue.OrdAndValue - Class in org.apache.lucene.facet
-
Holds a single entry.
- toString(String) - Method in class org.apache.lucene.facet.DrillDownQuery
-
- toString() - Method in class org.apache.lucene.facet.FacetField
-
- toString() - Method in class org.apache.lucene.facet.FacetResult
-
- toString() - Method in class org.apache.lucene.facet.LabelAndValue
-
- toString() - Method in class org.apache.lucene.facet.LongValueFacetCounts
-
- toString() - Method in class org.apache.lucene.facet.range.DoubleRange
-
- toString() - Method in class org.apache.lucene.facet.range.LongRange
-
- toString() - Method in class org.apache.lucene.facet.sortedset.DefaultSortedSetDocValuesReaderState
-
- toString() - Method in class org.apache.lucene.facet.sortedset.SortedSetDocValuesFacetField
-
- toString() - Method in class org.apache.lucene.facet.taxonomy.AssociationFacetField
-
- toString(int) - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyReader
-
Returns ordinal -> label mapping, up to the provided
max ordinal or number of ordinals, whichever is
smaller.
- toString() - Method in class org.apache.lucene.facet.taxonomy.FacetLabel
-
Returns a string representation of the path.
- toString() - Method in class org.apache.lucene.facet.taxonomy.FloatAssociationFacetField
-
- toString() - Method in class org.apache.lucene.facet.taxonomy.IntAssociationFacetField
-
- totalHits - Variable in class org.apache.lucene.facet.FacetsCollector.MatchingDocs
-
Total number of hits
- tryIncRef(SearcherTaxonomyManager.SearcherAndTaxonomy) - Method in class org.apache.lucene.facet.taxonomy.SearcherTaxonomyManager
-
- tryIncRef() - Method in class org.apache.lucene.facet.taxonomy.TaxonomyReader
-
Expert: increments the refCount of this TaxonomyReader
instance only if it has not been closed yet.
- TYPE - Static variable in class org.apache.lucene.facet.FacetField
-
Field type used for storing facet values: docs, freqs, and positions.
- TYPE - Static variable in class org.apache.lucene.facet.sortedset.SortedSetDocValuesFacetField
-
Indexed FieldType.
- TYPE - Static variable in class org.apache.lucene.facet.taxonomy.AssociationFacetField
-
Indexed FieldType.