A B C D E F G H I K L M N O P Q R S T U V W 

A

acceptsDocsOutOfOrder() - Method in class org.apache.lucene.facet.search.FacetsCollector
 
accumulate(ScoredDocIDs) - Method in class org.apache.lucene.facet.search.AdaptiveFacetsAccumulator
 
accumulate(ScoredDocIDs) - Method in class org.apache.lucene.facet.search.FacetsAccumulator
Accumulate facets over given documents, according to facet requests in effect.
accumulate(ScoredDocIDs) - Method in class org.apache.lucene.facet.search.sampling.SamplingAccumulator
 
accumulate(ScoredDocIDs) - Method in class org.apache.lucene.facet.search.SamplingWrapper
 
accumulate(ScoredDocIDs) - Method in class org.apache.lucene.facet.search.StandardFacetsAccumulator
 
actualDocsToAccumulate(ScoredDocIDs) - Method in class org.apache.lucene.facet.search.sampling.SamplingAccumulator
 
actualDocsToAccumulate(ScoredDocIDs) - Method in class org.apache.lucene.facet.search.StandardFacetsAccumulator
Set the actual set of documents over which accumulation should take place.
actualSampleRatio - Variable in class org.apache.lucene.facet.search.sampling.Sampler.SampleResult
 
AdaptiveFacetsAccumulator - Class in org.apache.lucene.facet.search
FacetsAccumulator whose behavior regarding complements, sampling, etc.
AdaptiveFacetsAccumulator(FacetSearchParams, IndexReader, TaxonomyReader) - Constructor for class org.apache.lucene.facet.search.AdaptiveFacetsAccumulator
AdaptiveFacetsAccumulator(FacetSearchParams, IndexReader, TaxonomyReader, FacetArrays) - Constructor for class org.apache.lucene.facet.search.AdaptiveFacetsAccumulator
add(T) - Method in interface org.apache.lucene.facet.search.Heap
Add a new value to the heap, return the new top().
add(int) - Method in class org.apache.lucene.util.collections.IntHashSet
Add a mapping int key -> int value.
addAdditionalAttributes(CategoryPath, boolean) - Method in class org.apache.lucene.facet.associations.AssociationsDrillDownStream
 
addAdditionalAttributes(CategoryPath, boolean) - Method in class org.apache.lucene.facet.index.DrillDownStream
 
addCategory(CategoryPath) - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter
 
addCategory(CategoryPath) - Method in interface org.apache.lucene.facet.taxonomy.TaxonomyWriter
addCategory() adds a category with a given path name to the taxonomy, and returns its ordinal.
addDone() - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter.DiskOrdinalMap
 
addDone() - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter.MemoryOrdinalMap
 
addDone() - Method in interface org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter.OrdinalMap
Call addDone() to say that all addMapping() have been done.
addFields(Document, Iterable<CategoryPath>) - Method in class org.apache.lucene.facet.associations.AssociationsFacetFields
 
addFields(Document, Iterable<CategoryPath>) - Method in class org.apache.lucene.facet.index.FacetFields
Adds the needed facet fields to the document.
addLabel(CategoryPath, int, int) - Method in class org.apache.lucene.facet.taxonomy.writercache.cl2o.CollisionMap
 
addLabel(CategoryPath, int) - Method in class org.apache.lucene.facet.taxonomy.writercache.cl2o.CompactLabelToOrdinal
 
addLabel(CategoryPath, int) - Method in class org.apache.lucene.facet.taxonomy.writercache.cl2o.LabelToOrdinal
Adds a new label if its not yet in the table.
addLabelOffset(int, int, int) - Method in class org.apache.lucene.facet.taxonomy.writercache.cl2o.CollisionMap
This method does not check if the same value is already in the map because we pass in an char-array offset, so so we now that we're in resize-mode here.
addMapping(int, int) - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter.DiskOrdinalMap
 
addMapping(int, int) - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter.MemoryOrdinalMap
 
addMapping(int, int) - Method in interface org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter.OrdinalMap
 
addTaxonomy(Directory, DirectoryTaxonomyWriter.OrdinalMap) - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter
Takes the categories from the given taxonomy directory, and adds the missing ones to this taxonomy.
addToArray(int) - Method in class org.apache.lucene.util.collections.IntArray
Adds a value to the array.
aggregate(int, float, IntsRef) - Method in interface org.apache.lucene.facet.search.aggregator.Aggregator
Aggregate the ordinals of the given document ID (and its score).
aggregate(int, float, IntsRef) - Method in class org.apache.lucene.facet.search.aggregator.associations.AssociationFloatSumAggregator
 
aggregate(int, float, IntsRef) - Method in class org.apache.lucene.facet.search.aggregator.associations.AssociationIntSumAggregator
 
aggregate(int, float, IntsRef) - Method in class org.apache.lucene.facet.search.aggregator.ComplementCountingAggregator
 
aggregate(int, float, IntsRef) - Method in class org.apache.lucene.facet.search.aggregator.CountingAggregator
 
aggregate(int, float, IntsRef) - Method in class org.apache.lucene.facet.search.aggregator.ScoringAggregator
 
Aggregator - Interface in org.apache.lucene.facet.search.aggregator
Aggregates the categories of documents given to Aggregator.aggregate(int, float, IntsRef).
ALL_CATEGORIES - Static variable in interface org.apache.lucene.facet.index.categorypolicy.PathPolicy
A PathPolicy which adds all CategoryPath that have at least one component (i.e.
ALL_PARENTS - Static variable in interface org.apache.lucene.facet.index.categorypolicy.OrdinalPolicy
An OrdinalPolicy which stores all parent ordinals, except TaxonomyReader.ROOT_ORDINAL.
ALL_PARENTS - Static variable in class org.apache.lucene.facet.index.params.FacetIndexingParams
allocateFloatArray() - Method in class org.apache.lucene.facet.search.ArraysPool
Allocates a new float[].
allocateIntArray() - Method in class org.apache.lucene.facet.search.ArraysPool
Allocates a new int[].
appendSubResult(FacetResultNode) - Method in class org.apache.lucene.facet.search.results.MutableFacetResultNode
Append a sub result (as last).
ArrayHashMap<K,V> - Class in org.apache.lucene.util.collections
An Array-based hashtable which maps, similar to Java's HashMap, only performance tests showed it performs better.
ArrayHashMap() - Constructor for class org.apache.lucene.util.collections.ArrayHashMap
Constructs a map with default capacity.
ArrayHashMap(int) - Constructor for class org.apache.lucene.util.collections.ArrayHashMap
Constructs a map with given capacity.
arrayLength - Variable in class org.apache.lucene.facet.search.ArraysPool
 
arrayLength - Variable in class org.apache.lucene.facet.search.FacetArrays
 
ArraysPool - Class in org.apache.lucene.facet.search
A thread-safe pool of int[] and float[] arrays.
ArraysPool(int, int) - Constructor for class org.apache.lucene.facet.search.ArraysPool
Specifies the max number of arrays to pool, as well as the length of each array to allocate.
ASSOCIATION_LIST_ID - Static variable in class org.apache.lucene.facet.associations.CategoryFloatAssociation
 
ASSOCIATION_LIST_ID - Static variable in class org.apache.lucene.facet.associations.CategoryIntAssociation
 
AssociationFloatSumAggregator - Class in org.apache.lucene.facet.search.aggregator.associations
An Aggregator which computes the weight of a category as the sum of the float values associated with it in the result documents.
AssociationFloatSumAggregator(float[]) - Constructor for class org.apache.lucene.facet.search.aggregator.associations.AssociationFloatSumAggregator
 
AssociationFloatSumAggregator(String, float[]) - Constructor for class org.apache.lucene.facet.search.aggregator.associations.AssociationFloatSumAggregator
 
AssociationFloatSumFacetRequest - Class in org.apache.lucene.facet.search.params.associations
A FacetRequest for weighting facets according to their float association by summing the association values.
AssociationFloatSumFacetRequest(CategoryPath, int) - Constructor for class org.apache.lucene.facet.search.params.associations.AssociationFloatSumFacetRequest
Create a float association facet request for a given node in the taxonomy.
AssociationIntSumAggregator - Class in org.apache.lucene.facet.search.aggregator.associations
An Aggregator which computes the weight of a category as the sum of the integer values associated with it in the result documents.
AssociationIntSumAggregator(int[]) - Constructor for class org.apache.lucene.facet.search.aggregator.associations.AssociationIntSumAggregator
 
AssociationIntSumAggregator(String, int[]) - Constructor for class org.apache.lucene.facet.search.aggregator.associations.AssociationIntSumAggregator
 
AssociationIntSumFacetRequest - Class in org.apache.lucene.facet.search.params.associations
A FacetRequest for weighting facets according to their integer association by summing the association values.
AssociationIntSumFacetRequest(CategoryPath, int) - Constructor for class org.apache.lucene.facet.search.params.associations.AssociationIntSumFacetRequest
Create an integer association facet request for a given node in the taxonomy.
associations - Variable in class org.apache.lucene.facet.search.aggregator.associations.AssociationFloatSumAggregator
 
associations - Variable in class org.apache.lucene.facet.search.aggregator.associations.AssociationIntSumAggregator
 
AssociationsDrillDownStream - Class in org.apache.lucene.facet.associations
A DrillDownStream which adds to each drill-down token a payload according to the CategoryAssociation defined in the CategoryAssociationsContainer.
AssociationsDrillDownStream(CategoryAssociationsContainer, FacetIndexingParams) - Constructor for class org.apache.lucene.facet.associations.AssociationsDrillDownStream
 
AssociationsFacetFields - Class in org.apache.lucene.facet.associations
A utility class for adding facet fields to a document.
AssociationsFacetFields(TaxonomyWriter) - Constructor for class org.apache.lucene.facet.associations.AssociationsFacetFields
Constructs a new instance with the default facet indexing params.
AssociationsFacetFields(TaxonomyWriter, FacetIndexingParams) - Constructor for class org.apache.lucene.facet.associations.AssociationsFacetFields
Constructs a new instance with the given facet indexing params.
AssociationsListBuilder - Class in org.apache.lucene.facet.associations
A AssociationsListBuilder which encodes category-association value pairs.
AssociationsListBuilder(CategoryAssociationsContainer) - Constructor for class org.apache.lucene.facet.associations.AssociationsListBuilder
 
AssociationsPayloadIterator<T extends CategoryAssociation> - Class in org.apache.lucene.facet.associations
An iterator over a document's category associations.
AssociationsPayloadIterator(String, T) - Constructor for class org.apache.lucene.facet.associations.AssociationsPayloadIterator
Construct a new associations iterator.
available() - Method in class org.apache.lucene.util.UnsafeByteArrayInputStream
 

B

build(IntsRef, Iterable<CategoryPath>) - Method in class org.apache.lucene.facet.associations.AssociationsListBuilder
 
build(IntsRef, Iterable<CategoryPath>) - Method in interface org.apache.lucene.facet.index.CategoryListBuilder
Returns the encoded ordinals data.
build(IntsRef, Iterable<CategoryPath>) - Method in class org.apache.lucene.facet.index.CountingListBuilder
Every returned BytesRef corresponds to a single partition (as defined by FacetIndexingParams.getPartitionSize()) and the key denotes the partition ID.

C

calcBaseHashIndex(K) - Method in class org.apache.lucene.util.collections.ArrayHashMap
Calculating the baseHash index using the internal internal hashFactor.
calcBaseHashIndex(float) - Method in class org.apache.lucene.util.collections.FloatToObjectMap
Calculating the baseHash index using the internal hashFactor.
calcBaseHashIndex(int) - Method in class org.apache.lucene.util.collections.IntHashSet
Calculating the baseHash index using the internal hashFactor .
calcBaseHashIndex(int) - Method in class org.apache.lucene.util.collections.IntToDoubleMap
Calculating the baseHash index using the internal hashFactor .
calcBaseHashIndex(int) - Method in class org.apache.lucene.util.collections.IntToFloatMap
Calculating the baseHash index using the internal hashFactor .
calcBaseHashIndex(int) - Method in class org.apache.lucene.util.collections.IntToIntMap
Calculating the baseHash index using the internal hashFactor.
calcBaseHashIndex(int) - Method in class org.apache.lucene.util.collections.IntToObjectMap
Calculating the baseHash index using the internal hashFactor.
calcBaseHashIndex(K) - Method in class org.apache.lucene.util.collections.ObjectToFloatMap
Calculating the baseHash index using the internal hashFactor.
calcBaseHashIndex(K) - Method in class org.apache.lucene.util.collections.ObjectToIntMap
Calculating the baseHash index using the internal hashFactor.
capacity() - Method in class org.apache.lucene.facet.taxonomy.writercache.cl2o.CollisionMap
 
CategoryAssociation - Interface in org.apache.lucene.facet.associations
Allows associating an arbitrary value with a CategoryPath.
CategoryAssociationsContainer - Class in org.apache.lucene.facet.associations
CategoryAssociationsContainer() - Constructor for class org.apache.lucene.facet.associations.CategoryAssociationsContainer
 
CategoryFloatAssociation - Class in org.apache.lucene.facet.associations
A CategoryAssociation that associates a float with a category.
CategoryFloatAssociation() - Constructor for class org.apache.lucene.facet.associations.CategoryFloatAssociation
 
CategoryFloatAssociation(float) - Constructor for class org.apache.lucene.facet.associations.CategoryFloatAssociation
 
CategoryIntAssociation - Class in org.apache.lucene.facet.associations
A CategoryAssociation that associates an integer with a category.
CategoryIntAssociation() - Constructor for class org.apache.lucene.facet.associations.CategoryIntAssociation
 
CategoryIntAssociation(int) - Constructor for class org.apache.lucene.facet.associations.CategoryIntAssociation
 
CategoryListBuilder - Interface in org.apache.lucene.facet.index
Builds a category list data by encoding the appropriate information for every category and ordinal given to CategoryListBuilder.build(IntsRef, Iterable).
CategoryListCache - Class in org.apache.lucene.facet.search.cache
CategoryListCache() - Constructor for class org.apache.lucene.facet.search.cache.CategoryListCache
 
CategoryListData - Class in org.apache.lucene.facet.search.cache
Category list data maintained in RAM.
CategoryListData() - Constructor for class org.apache.lucene.facet.search.cache.CategoryListData
Empty constructor for extensions with modified computation of the data.
CategoryListIterator - Interface in org.apache.lucene.facet.search
An interface for obtaining the category ordinals of documents.
CategoryListParams - Class in org.apache.lucene.facet.index.params
Contains parameters for a category list *
CategoryListParams() - Constructor for class org.apache.lucene.facet.index.params.CategoryListParams
Constructs a default category list parameters object, using CategoryListParams.DEFAULT_TERM.
CategoryListParams(Term) - Constructor for class org.apache.lucene.facet.index.params.CategoryListParams
Constructs a category list parameters object, using the given Term.
CategoryPath - Class in org.apache.lucene.facet.taxonomy
Holds a sequence of string components, specifying the hierarchical name of a category.
CategoryPath(String...) - Constructor for class org.apache.lucene.facet.taxonomy.CategoryPath
Construct from the given path components.
CategoryPath(String, char) - Constructor for class org.apache.lucene.facet.taxonomy.CategoryPath
Construct from a given path, separating path components with delimiter.
children() - Method in class org.apache.lucene.facet.taxonomy.directory.ParallelTaxonomyArrays
Returns the children array, where children[i] denotes the youngest child of category ordinal i.
ChunksIntEncoder - Class in org.apache.lucene.util.encoding
An IntEncoder which encodes values in chunks.
ChunksIntEncoder(int) - Constructor for class org.apache.lucene.util.encoding.ChunksIntEncoder
 
Cl2oTaxonomyWriterCache - Class in org.apache.lucene.facet.taxonomy.writercache.cl2o
Cl2oTaxonomyWriterCache(int, float, int) - Constructor for class org.apache.lucene.facet.taxonomy.writercache.cl2o.Cl2oTaxonomyWriterCache
 
clear() - Method in class org.apache.lucene.facet.associations.CategoryAssociationsContainer
Clears all category associations.
clear() - Method in interface org.apache.lucene.facet.search.Heap
Clear the heap
clear() - Method in class org.apache.lucene.facet.search.TotalFacetCountsCache
Clear the cache.
clear() - Method in class org.apache.lucene.facet.taxonomy.writercache.cl2o.Cl2oTaxonomyWriterCache
 
clear() - Method in class org.apache.lucene.facet.taxonomy.writercache.lru.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.util.collections.ArrayHashMap
Empties the map.
clear() - Method in class org.apache.lucene.util.collections.FloatToObjectMap
Empties the map.
clear(boolean) - Method in class org.apache.lucene.util.collections.IntArray
Clear the IntArray (set all elements to zero).
clear() - Method in class org.apache.lucene.util.collections.IntHashSet
Empties the map.
clear() - Method in class org.apache.lucene.util.collections.IntToDoubleMap
Empties the map.
clear() - Method in class org.apache.lucene.util.collections.IntToFloatMap
Empties the map.
clear() - Method in class org.apache.lucene.util.collections.IntToIntMap
Empties the map.
clear() - Method in class org.apache.lucene.util.collections.IntToObjectMap
Empties the map.
clear() - Method in class org.apache.lucene.util.collections.ObjectToFloatMap
Empties the map.
clear() - Method in class org.apache.lucene.util.collections.ObjectToIntMap
Empties the map.
clone() - Method in class org.apache.lucene.facet.search.params.FacetRequest
 
clone() - Method in class org.apache.lucene.util.collections.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.cl2o.Cl2oTaxonomyWriterCache
 
close() - Method in class org.apache.lucene.facet.taxonomy.writercache.lru.LruTaxonomyWriterCache
 
close() - Method in interface org.apache.lucene.facet.taxonomy.writercache.TaxonomyWriterCache
Let go of whatever resources the cache is holding.
closeResources() - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter
A hook for extending classes to close additional resources that were used.
clParams - Variable in class org.apache.lucene.facet.index.params.FacetIndexingParams
 
collect(int) - Method in class org.apache.lucene.facet.search.FacetsCollector
 
CollisionMap - Class in org.apache.lucene.facet.taxonomy.writercache.cl2o
HashMap to store colliding labels.
commit() - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter
 
CompactLabelToOrdinal - Class in org.apache.lucene.facet.taxonomy.writercache.cl2o
This is a very efficient LabelToOrdinal implementation that uses a CharBlockArray to store all labels and a configurable number of HashArrays to reference the labels.
CompactLabelToOrdinal(int, float, int) - Constructor for class org.apache.lucene.facet.taxonomy.writercache.cl2o.CompactLabelToOrdinal
 
compareTo(CategoryPath) - Method in class org.apache.lucene.facet.taxonomy.CategoryPath
Compares this path with another CategoryPath for lexicographic order.
ComplementCountingAggregator - Class in org.apache.lucene.facet.search.aggregator
A CountingAggregator used during complement counting.
ComplementCountingAggregator(int[]) - Constructor for class org.apache.lucene.facet.search.aggregator.ComplementCountingAggregator
 
components - Variable in class org.apache.lucene.facet.taxonomy.CategoryPath
The components of this CategoryPath.
contains(int) - Method in class org.apache.lucene.util.collections.IntHashSet
Checks if a given key exists in the map.
containsKey(K) - Method in class org.apache.lucene.util.collections.ArrayHashMap
Returns true iff the key exists in the map.
containsKey(float) - Method in class org.apache.lucene.util.collections.FloatToObjectMap
Checks if a given key exists in the map.
containsKey(int) - Method in class org.apache.lucene.util.collections.IntToDoubleMap
Checks if a given key exists in the map.
containsKey(int) - Method in class org.apache.lucene.util.collections.IntToFloatMap
Checks if a given key exists in the map.
containsKey(int) - Method in class org.apache.lucene.util.collections.IntToIntMap
Checks if a given key exists in the map.
containsKey(int) - Method in class org.apache.lucene.util.collections.IntToObjectMap
Checks if a given key exists in the map.
containsKey(K) - Method in class org.apache.lucene.util.collections.ObjectToFloatMap
Checks if a given key exists in the map.
containsKey(K) - Method in class org.apache.lucene.util.collections.ObjectToIntMap
Checks if a given key exists in the map.
containsValue(Object) - Method in class org.apache.lucene.util.collections.ArrayHashMap
Returns true iff the object exists in the map.
containsValue(Object) - Method in class org.apache.lucene.util.collections.FloatToObjectMap
Checks if the given object exists in the map.
This method iterates over the collection, trying to find an equal object.
containsValue(double) - Method in class org.apache.lucene.util.collections.IntToDoubleMap
Checks if the given value exists in the map.
This method iterates over the collection, trying to find an equal object.
containsValue(float) - Method in class org.apache.lucene.util.collections.IntToFloatMap
Checks if the given value exists in the map.
This method iterates over the collection, trying to find an equal object.
containsValue(int) - Method in class org.apache.lucene.util.collections.IntToIntMap
Checks if the given object exists in the map.
This method iterates over the collection, trying to find an equal object.
containsValue(Object) - Method in class org.apache.lucene.util.collections.IntToObjectMap
Checks if the given object exists in the map.
This method iterates over the collection, trying to find an equal object.
containsValue(float) - Method in class org.apache.lucene.util.collections.ObjectToFloatMap
Checks if the given object exists in the map.
This method iterates over the collection, trying to find an equal object.
containsValue(int) - Method in class org.apache.lucene.util.collections.ObjectToIntMap
Checks if the given object exists in the map.
This method iterates over the collection, trying to find an equal object.
copyFullPath(char[], int, char) - Method in class org.apache.lucene.facet.taxonomy.CategoryPath
Copies the path components to the given char[], starting at index start.
counter - Variable in class org.apache.lucene.facet.taxonomy.writercache.cl2o.LabelToOrdinal
 
counterArray - Variable in class org.apache.lucene.facet.search.aggregator.CountingAggregator
 
CountFacetRequest - Class in org.apache.lucene.facet.search.params
Facet request for counting facets.
CountFacetRequest(CategoryPath, int) - Constructor for class org.apache.lucene.facet.search.params.CountFacetRequest
Create a count facet request for a given node in the taxonomy.
CountingAggregator - Class in org.apache.lucene.facet.search.aggregator
A CountingAggregator updates a counter array with the size of the whole taxonomy, counting the number of times each category appears in the given set of documents.
CountingAggregator(int[]) - Constructor for class org.apache.lucene.facet.search.aggregator.CountingAggregator
 
CountingListBuilder - Class in org.apache.lucene.facet.index
A CategoryListBuilder which builds a counting list data by encoding the category ordinals into one or more BytesRef.
CountingListBuilder(CategoryListParams, FacetIndexingParams, TaxonomyWriter) - Constructor for class org.apache.lucene.facet.index.CountingListBuilder
 
create(int, boolean) - Static method in class org.apache.lucene.facet.search.ScoredDocIdCollector
Creates a new ScoredDocIdCollector with the given parameters.
createAggregator(boolean, FacetArrays, TaxonomyReader) - Method in class org.apache.lucene.facet.search.params.associations.AssociationFloatSumFacetRequest
 
createAggregator(boolean, FacetArrays, TaxonomyReader) - Method in class org.apache.lucene.facet.search.params.associations.AssociationIntSumFacetRequest
 
createAggregator(boolean, FacetArrays, TaxonomyReader) - Method in class org.apache.lucene.facet.search.params.CountFacetRequest
 
createAggregator(boolean, FacetArrays, TaxonomyReader) - Method in class org.apache.lucene.facet.search.params.FacetRequest
Create an aggregator for this facet request.
createAggregator(boolean, FacetArrays, TaxonomyReader) - Method in class org.apache.lucene.facet.search.params.ScoreFacetRequest
 
createAllDocsScoredDocIDs(IndexReader) - Static method in class org.apache.lucene.facet.util.ScoredDocIdsUtils
Creates a ScoredDocIDs which returns document IDs all non-deleted doc ids according to the given reader.
createCategoryListIterator(int) - Method in class org.apache.lucene.facet.index.params.CategoryListParams
Create the CategoryListIterator for the specified partition.
createCategoryListIterator(TaxonomyReader, FacetSearchParams, int) - Method in class org.apache.lucene.facet.search.params.FacetRequest
Create the category list iterator for the specified partition.
createCategoryListMapping(Iterable<CategoryPath>) - Method in class org.apache.lucene.facet.associations.AssociationsFacetFields
 
createCategoryListMapping(Iterable<CategoryPath>) - Method in class org.apache.lucene.facet.index.FacetFields
Creates a mapping between a CategoryListParams and all categories that are associated with it.
createEncoder() - Method in class org.apache.lucene.facet.index.params.CategoryListParams
Allows to override how categories are encoded and decoded.
createFacetResultsHandler(TaxonomyReader) - Method in class org.apache.lucene.facet.search.params.FacetRequest
Creates a new FacetResultsHandler that matches the request logic and current settings, such as depth, limits-mode, etc, as well as the passed in TaxonomyReader.
createIndexWriterConfig(IndexWriterConfig.OpenMode) - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter
Create the IndexWriterConfig that would be used for opening the internal index writer.
createMatchingDecoder() - Method in class org.apache.lucene.util.encoding.DGapIntEncoder
 
createMatchingDecoder() - Method in class org.apache.lucene.util.encoding.EightFlagsIntEncoder
 
createMatchingDecoder() - Method in class org.apache.lucene.util.encoding.FourFlagsIntEncoder
 
createMatchingDecoder() - Method in class org.apache.lucene.util.encoding.IntEncoder
Returns an IntDecoder which can decode the values that were encoded with this encoder.
createMatchingDecoder() - Method in class org.apache.lucene.util.encoding.NOnesIntEncoder
 
createMatchingDecoder() - Method in class org.apache.lucene.util.encoding.SimpleIntEncoder
 
createMatchingDecoder() - Method in class org.apache.lucene.util.encoding.SortingIntEncoder
 
createMatchingDecoder() - Method in class org.apache.lucene.util.encoding.UniqueValuesIntEncoder
 
createMatchingDecoder() - Method in class org.apache.lucene.util.encoding.VInt8IntEncoder
 
createSample(ScoredDocIDs, int, int) - Method in class org.apache.lucene.facet.search.sampling.RandomSampler
 
createSample(ScoredDocIDs, int, int) - Method in class org.apache.lucene.facet.search.sampling.RepeatableSampler
 
createSample(ScoredDocIDs, int, int) - Method in class org.apache.lucene.facet.search.sampling.Sampler
Create and return a sample of the input set
createScoredDocIds(DocIdSet, int) - Static method in class org.apache.lucene.facet.util.ScoredDocIdsUtils
Create a ScoredDocIDs out of a given docIdSet and the total number of documents in an index
createScoredDocIDsSubset(ScoredDocIDs, int[]) - Static method in class org.apache.lucene.facet.util.ScoredDocIdsUtils
Create a subset of an existing ScoredDocIDs object.
createSuitableHeap(FacetRequest) - Static method in class org.apache.lucene.facet.util.ResultSortUtils
Create a suitable heap according to facet request being served.

D

decode(BytesRef, IntsRef) - Method in class org.apache.lucene.util.encoding.DGapIntDecoder
 
decode(BytesRef, IntsRef) - Method in class org.apache.lucene.util.encoding.EightFlagsIntDecoder
 
decode(BytesRef, IntsRef) - Method in class org.apache.lucene.util.encoding.FourFlagsIntDecoder
 
decode(BytesRef, IntsRef) - Method in class org.apache.lucene.util.encoding.IntDecoder
Decodes the values from the buffer into the given IntsRef.
decode(BytesRef, IntsRef) - Method in class org.apache.lucene.util.encoding.NOnesIntDecoder
 
decode(BytesRef, IntsRef) - Method in class org.apache.lucene.util.encoding.SimpleIntDecoder
 
decode(BytesRef, IntsRef) - Method in class org.apache.lucene.util.encoding.VInt8IntDecoder
 
decRef() - Method in class org.apache.lucene.facet.taxonomy.TaxonomyReader
Expert: decreases the refCount of this TaxonomyReader instance.
DEFAULT_CACHE_SIZE - Static variable in class org.apache.lucene.facet.search.TotalFacetCountsCache
Default size of in memory cache for computed total facet counts.
DEFAULT_CATEGORY_LIST_PARAMS - Static variable in class org.apache.lucene.facet.index.params.FacetIndexingParams
 
DEFAULT_COMPLEMENT_THRESHOLD - Static variable in class org.apache.lucene.facet.search.FacetsAccumulator
Default threshold for using the complements optimization.
DEFAULT_DEPTH - Static variable in class org.apache.lucene.facet.search.params.FacetRequest
Default depth for facets accumulation.
DEFAULT_FACET_DELIM_CHAR - Static variable in class org.apache.lucene.facet.index.params.FacetIndexingParams
The default delimiter with which CategoryPath.components are concatenated when written to the index, e.g.
DEFAULT_MAX_SAMPLE_SIZE - Static variable in class org.apache.lucene.facet.search.sampling.SamplingParams
Default maximum size of sample.
DEFAULT_MIN_SAMPLE_SIZE - Static variable in class org.apache.lucene.facet.search.sampling.SamplingParams
Default minimum size of sample.
DEFAULT_MINIMAL_SUBPATH_LENGTH - Variable in class org.apache.lucene.facet.index.categorypolicy.NonTopLevelPathPolicy
The shortest path length delivered is two components (root + one child).
DEFAULT_OVERSAMPLE_FACTOR - Static variable in class org.apache.lucene.facet.search.sampling.SamplingParams
Default factor by which more results are requested over the sample set.
DEFAULT_RESULT_MODE - Static variable in class org.apache.lucene.facet.search.params.FacetRequest
Default result mode
DEFAULT_SAMPLE_RATIO - Static variable in class org.apache.lucene.facet.search.sampling.SamplingParams
Default ratio between size of sample to original size of document set.
DEFAULT_SAMPLING_THRESHOLD - Static variable in class org.apache.lucene.facet.search.sampling.SamplingParams
Default sampling threshold, if number of results is less than this number - no sampling will take place
DEFAULT_SCORE - Static variable in interface org.apache.lucene.facet.search.ScoredDocIDsIterator
Default score used in case scoring is disabled.
DEFAULT_SORT_BY - Static variable in class org.apache.lucene.facet.search.params.FacetRequest
Default sort mode.
DEFAULT_TERM - Static variable in class org.apache.lucene.facet.index.params.CategoryListParams
The default term used to store the facets information.
DefaultLoadFactor - Static variable in class org.apache.lucene.facet.taxonomy.writercache.cl2o.CompactLabelToOrdinal
 
defaultTaxonomyWriterCache() - Static method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter
Defines the default TaxonomyWriterCache to use in constructors which do not specify one.
deserialize(ByteArrayDataInput) - Method in interface org.apache.lucene.facet.associations.CategoryAssociation
Deserializes the association value from the given DataInput.
deserialize(ByteArrayDataInput) - Method in class org.apache.lucene.facet.associations.CategoryFloatAssociation
 
deserialize(ByteArrayDataInput) - Method in class org.apache.lucene.facet.associations.CategoryIntAssociation
 
DGapIntDecoder - Class in org.apache.lucene.util.encoding
An IntDecoder which wraps another decoder and reverts the d-gap that was encoded by DGapIntEncoder.
DGapIntDecoder(IntDecoder) - Constructor for class org.apache.lucene.util.encoding.DGapIntDecoder
 
DGapIntEncoder - Class in org.apache.lucene.util.encoding
An IntEncoderFilter which encodes the gap between the given values, rather than the values themselves.
DGapIntEncoder(IntEncoder) - Constructor for class org.apache.lucene.util.encoding.DGapIntEncoder
Initializes with the given encoder.
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.
DirectoryTaxonomyReader(DirectoryTaxonomyWriter) - Constructor for class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyReader
Opens a DirectoryTaxonomyReader over the given DirectoryTaxonomyWriter (for NRT).
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, IndexWriterConfig.OpenMode, TaxonomyWriterCache) - Constructor for class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter
Construct a Taxonomy writer.
DirectoryTaxonomyWriter(Directory, IndexWriterConfig.OpenMode) - Constructor for class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter
Creates a new instance with a default cache as defined by DirectoryTaxonomyWriter.defaultTaxonomyWriterCache().
DirectoryTaxonomyWriter(Directory) - Constructor for class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter
 
DirectoryTaxonomyWriter.DiskOrdinalMap - Class in org.apache.lucene.facet.taxonomy.directory
DirectoryTaxonomyWriter.OrdinalMap maintained on file system
DirectoryTaxonomyWriter.DiskOrdinalMap(File) - Constructor for class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter.DiskOrdinalMap
 
DirectoryTaxonomyWriter.MemoryOrdinalMap - Class in org.apache.lucene.facet.taxonomy.directory
DirectoryTaxonomyWriter.MemoryOrdinalMap() - Constructor for class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter.MemoryOrdinalMap
 
DirectoryTaxonomyWriter.OrdinalMap - Interface in org.apache.lucene.facet.taxonomy.directory
Mapping from old ordinal to new ordinals, used when merging indexes wit separate taxonomies.
DISABLE_COMPLEMENT - Static variable in class org.apache.lucene.facet.search.FacetsAccumulator
Passing this to FacetsAccumulator.setComplementThreshold(double) will disable using complement optimization.
docBase - Variable in class org.apache.lucene.facet.search.ScoredDocIdCollector
 
docids - Variable in class org.apache.lucene.facet.search.sampling.Sampler.SampleResult
 
docIds - Variable in class org.apache.lucene.facet.search.ScoredDocIdCollector
 
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.
doFree(float[], int[]) - Method in class org.apache.lucene.facet.search.FacetArrays
 
doFree(float[], int[]) - Method in class org.apache.lucene.facet.search.ReusingFacetArrays
 
doOpenIfChanged() - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyReader
Implements the opening of a new DirectoryTaxonomyReader instance if the taxonomy has changed.
doOpenIfChanged() - Method in class org.apache.lucene.facet.taxonomy.TaxonomyReader
Implements the actual opening of a new TaxonomyReader instance if the taxonomy has changed.
DoubleIterator - Interface in org.apache.lucene.util.collections
Iterator interface for primitive double iteration.
DrillDown - Class in org.apache.lucene.facet.search
Utility class for creating drill-down queries or terms over CategoryPath.
DrillDown() - Constructor for class org.apache.lucene.facet.search.DrillDown
 
DrillDownStream - Class in org.apache.lucene.facet.index
A TokenStream which creates category drill-down terms.
DrillDownStream(Iterable<CategoryPath>, FacetIndexingParams) - Constructor for class org.apache.lucene.facet.index.DrillDownStream
 
drillDownTermText(CategoryPath, char[]) - Method in class org.apache.lucene.facet.index.params.FacetIndexingParams
Copies the text required to execute a drill-down query on the given category to the given char[], and returns the number of characters that were written.

E

EightFlagsIntDecoder - Class in org.apache.lucene.util.encoding
Decodes values encoded with EightFlagsIntEncoder.
EightFlagsIntDecoder() - Constructor for class org.apache.lucene.util.encoding.EightFlagsIntDecoder
 
EightFlagsIntEncoder - Class in org.apache.lucene.util.encoding
A ChunksIntEncoder which encodes data in chunks of 8.
EightFlagsIntEncoder() - Constructor for class org.apache.lucene.util.encoding.EightFlagsIntEncoder
 
EMPTY - Static variable in class org.apache.lucene.facet.taxonomy.CategoryPath
An empty CategoryPath
encode(IntsRef, BytesRef) - Method in class org.apache.lucene.util.encoding.DGapIntEncoder
 
encode(IntsRef, BytesRef) - Method in class org.apache.lucene.util.encoding.EightFlagsIntEncoder
 
encode(IntsRef, BytesRef) - Method in class org.apache.lucene.util.encoding.FourFlagsIntEncoder
 
encode(IntsRef, BytesRef) - Method in class org.apache.lucene.util.encoding.IntEncoder
Encodes the values to the given buffer.
encode(IntsRef, BytesRef) - Method in class org.apache.lucene.util.encoding.NOnesIntEncoder
 
encode(IntsRef, BytesRef) - Method in class org.apache.lucene.util.encoding.SimpleIntEncoder
 
encode(IntsRef, BytesRef) - Method in class org.apache.lucene.util.encoding.SortingIntEncoder
 
encode(IntsRef, BytesRef) - Method in class org.apache.lucene.util.encoding.UniqueValuesIntEncoder
 
encode(IntsRef, BytesRef) - Method in class org.apache.lucene.util.encoding.VInt8IntEncoder
 
encodeChunk(BytesRef) - Method in class org.apache.lucene.util.encoding.ChunksIntEncoder
Encodes the values of the current chunk.
encodeQueue - Variable in class org.apache.lucene.util.encoding.ChunksIntEncoder
Holds the values which must be encoded, outside the indicator.
encoder - Variable in class org.apache.lucene.util.encoding.IntEncoderFilter
 
ensureOpen() - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter
Verifies that this instance wasn't closed, or throws AlreadyClosedException if it is.
ensureOpen() - Method in class org.apache.lucene.facet.taxonomy.TaxonomyReader
 
equals(Object) - Method in class org.apache.lucene.facet.index.params.CategoryListParams
 
equals(Object) - Method in class org.apache.lucene.facet.index.params.FacetIndexingParams
 
equals(Object) - Method in class org.apache.lucene.facet.search.aggregator.associations.AssociationFloatSumAggregator
 
equals(Object) - Method in class org.apache.lucene.facet.search.aggregator.associations.AssociationIntSumAggregator
 
equals(Object) - Method in class org.apache.lucene.facet.search.aggregator.CountingAggregator
 
equals(Object) - Method in class org.apache.lucene.facet.search.aggregator.ScoringAggregator
 
equals(Object) - Method in class org.apache.lucene.facet.search.params.FacetRequest
 
equals(Object) - Method in class org.apache.lucene.facet.search.PayloadCategoryListIteraor
 
equals(Object) - Method in class org.apache.lucene.facet.taxonomy.CategoryPath
 
equals(Object) - Method in class org.apache.lucene.util.collections.ArrayHashMap
 
equals(Object) - Method in class org.apache.lucene.util.collections.FloatToObjectMap
 
equals(Object) - Method in class org.apache.lucene.util.collections.IntArray
Equals method.
equals(Object) - Method in class org.apache.lucene.util.collections.IntToDoubleMap
 
equals(Object) - Method in class org.apache.lucene.util.collections.IntToFloatMap
 
equals(Object) - Method in class org.apache.lucene.util.collections.IntToIntMap
 
equals(Object) - Method in class org.apache.lucene.util.collections.IntToObjectMap
 
equals(Object) - Method in class org.apache.lucene.util.collections.ObjectToFloatMap
 
equals(Object) - Method in class org.apache.lucene.util.collections.ObjectToIntMap
 

F

FacetArrays - Class in org.apache.lucene.facet.search
Provider of arrays used for facets aggregation.
FacetArrays(int) - Constructor for class org.apache.lucene.facet.search.FacetArrays
Arrays will be allocated at the specified length.
facetArrays - Variable in class org.apache.lucene.facet.search.StandardFacetsAccumulator
 
FacetException - Exception in org.apache.lucene.facet
A parent class for exceptions thrown by the Facets code.
FacetException() - Constructor for exception org.apache.lucene.facet.FacetException
 
FacetException(String) - Constructor for exception org.apache.lucene.facet.FacetException
 
FacetException(String, Throwable) - Constructor for exception org.apache.lucene.facet.FacetException
 
FacetException(Throwable) - Constructor for exception org.apache.lucene.facet.FacetException
 
FacetFields - Class in org.apache.lucene.facet.index
A utility class for adding facet fields to a document.
FacetFields(TaxonomyWriter) - Constructor for class org.apache.lucene.facet.index.FacetFields
Constructs a new instance with the default facet indexing params.
FacetFields(TaxonomyWriter, FacetIndexingParams) - Constructor for class org.apache.lucene.facet.index.FacetFields
Constructs a new instance with the given facet indexing params.
FacetIndexingParams - Class in org.apache.lucene.facet.index.params
Defines parameters that are needed for facets indexing.
FacetIndexingParams() - Constructor for class org.apache.lucene.facet.index.params.FacetIndexingParams
Initializes new default params.
FacetIndexingParams(CategoryListParams) - Constructor for class org.apache.lucene.facet.index.params.FacetIndexingParams
Initializes new params with the given CategoryListParams.
facetRequest - Variable in class org.apache.lucene.facet.search.FacetResultsHandler
Facet request served by this handler.
FacetRequest - Class in org.apache.lucene.facet.search.params
Request to accumulate facet information for a specified facet and possibly also some of its descendants, upto a specified depth.
FacetRequest(CategoryPath, int) - Constructor for class org.apache.lucene.facet.search.params.FacetRequest
Initialize the request with a given path, and a requested number of facets results.
FacetRequest.ResultMode - Enum in org.apache.lucene.facet.search.params
Result structure manner of applying request's limits such as FacetRequest.getNumLabel() and FacetRequest.getNumResults().
FacetRequest.SortBy - Enum in org.apache.lucene.facet.search.params
Sort options for facet results.
FacetRequest.SortOrder - Enum in org.apache.lucene.facet.search.params
Requested sort order for the results.
facetRequests - Variable in class org.apache.lucene.facet.search.params.FacetSearchParams
 
FacetResult - Class in org.apache.lucene.facet.search.results
Result of faceted search.
FacetResult(FacetRequest, FacetResultNode, int) - Constructor for class org.apache.lucene.facet.search.results.FacetResult
 
FacetResultNode - Interface in org.apache.lucene.facet.search.results
Result of faceted search for a certain taxonomy node.
FacetResultsHandler - Class in org.apache.lucene.facet.search
Handler for facet results.
FacetResultsHandler(TaxonomyReader, FacetRequest) - Constructor for class org.apache.lucene.facet.search.FacetResultsHandler
Create a faceted search handler.
FacetsAccumulator - Class in org.apache.lucene.facet.search
Driver for Accumulating facets of faceted search requests over given documents.
FacetsAccumulator(FacetSearchParams, IndexReader, TaxonomyReader) - Constructor for class org.apache.lucene.facet.search.FacetsAccumulator
 
facetsAccumulator - Variable in class org.apache.lucene.facet.search.FacetsCollector
 
FacetsCollector - Class in org.apache.lucene.facet.search
Collector for facet accumulation.
FacetsCollector(FacetSearchParams, IndexReader, TaxonomyReader) - Constructor for class org.apache.lucene.facet.search.FacetsCollector
Create a collector for accumulating facets while collecting documents during search.
FacetSearchParams - Class in org.apache.lucene.facet.search.params
Defines parameters that are needed for faceted search.
FacetSearchParams(FacetRequest...) - Constructor for class org.apache.lucene.facet.search.params.FacetSearchParams
Initializes with the given requests and default FacetIndexingParams.ALL_PARENTS.
FacetSearchParams(List<FacetRequest>) - Constructor for class org.apache.lucene.facet.search.params.FacetSearchParams
Initializes with the given requests and default FacetIndexingParams.ALL_PARENTS.
FacetSearchParams(List<FacetRequest>, FacetIndexingParams) - Constructor for class org.apache.lucene.facet.search.params.FacetSearchParams
Initilizes with the given requests and FacetIndexingParams.
fetchPartitionResult(FacetArrays, int) - Method in class org.apache.lucene.facet.search.FacetResultsHandler
Fetch results of a single partition, given facet arrays for that partition, and based on the matching documents and faceted search parameters.
fetchPartitionResult(FacetArrays, int) - Method in class org.apache.lucene.facet.search.TopKFacetResultsHandler
 
fetchPartitionResult(FacetArrays, int) - Method in class org.apache.lucene.facet.search.TopKInEachNodeHandler
Recursively explore all facets that can be potentially included in the FacetResult to be generated, and that belong to the given partition, so that values can be examined and collected.
field - Variable in class org.apache.lucene.facet.search.aggregator.associations.AssociationFloatSumAggregator
 
field - Variable in class org.apache.lucene.facet.search.aggregator.associations.AssociationIntSumAggregator
 
fields() - Method in class org.apache.lucene.facet.index.OrdinalMappingAtomicReader
 
fieldType() - Method in class org.apache.lucene.facet.associations.AssociationsFacetFields
 
fieldType() - Method in class org.apache.lucene.facet.index.FacetFields
Returns the FieldType with which the drill-down terms should be indexed.
fillTotalCountsForPartition(int[], int) - Method in class org.apache.lucene.facet.search.TotalFacetCounts
Fill a partition's array with the TotalCountsArray values.
find(K) - Method in class org.apache.lucene.util.collections.ArrayHashMap
Returns the index of the given key, or zero if the key wasn't found.
find(float) - Method in class org.apache.lucene.util.collections.FloatToObjectMap
Find the actual index of a given key.
find(int) - Method in class org.apache.lucene.util.collections.IntHashSet
Find the actual index of a given key.
find(int) - Method in class org.apache.lucene.util.collections.IntToDoubleMap
Find the actual index of a given key.
find(int) - Method in class org.apache.lucene.util.collections.IntToFloatMap
Find the actual index of a given key.
find(int) - Method in class org.apache.lucene.util.collections.IntToIntMap
Find the actual index of a given key.
find(int) - Method in class org.apache.lucene.util.collections.IntToObjectMap
Find the actual index of a given key.
find(K) - Method in class org.apache.lucene.util.collections.ObjectToFloatMap
Find the actual index of a given key.
find(K) - Method in class org.apache.lucene.util.collections.ObjectToIntMap
Find the actual index of a given key.
findCategory(CategoryPath) - 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.
fixResult(ScoredDocIDs, FacetResult) - Method in interface org.apache.lucene.facet.search.sampling.SampleFixer
Alter the input result, fixing it to account for the sampling.
FloatAssociationsPayloadIterator - Class in org.apache.lucene.facet.associations
An AssociationsPayloadIterator over integer association values.
FloatAssociationsPayloadIterator(String, CategoryFloatAssociation) - Constructor for class org.apache.lucene.facet.associations.FloatAssociationsPayloadIterator
 
FloatIterator - Interface in org.apache.lucene.util.collections
Iterator interface for primitive int iteration.
FloatToObjectMap<T> - Class in org.apache.lucene.util.collections
An Array-based hashtable which maps primitive float to Objects of generic type T.
The hashtable is constracted with a given capacity, or 16 as a default.
FloatToObjectMap() - Constructor for class org.apache.lucene.util.collections.FloatToObjectMap
Constructs a map with default capacity.
FloatToObjectMap(int) - Constructor for class org.apache.lucene.util.collections.FloatToObjectMap
Constructs a map with given capacity.
FORCE_COMPLEMENT - Static variable in class org.apache.lucene.facet.search.FacetsAccumulator
Passing this to FacetsAccumulator.setComplementThreshold(double) will force using complement optimization.
FourFlagsIntDecoder - Class in org.apache.lucene.util.encoding
Decodes values encoded with FourFlagsIntEncoder.
FourFlagsIntDecoder() - Constructor for class org.apache.lucene.util.encoding.FourFlagsIntDecoder
 
FourFlagsIntEncoder - Class in org.apache.lucene.util.encoding
A ChunksIntEncoder which encodes values in chunks of 4.
FourFlagsIntEncoder() - Constructor for class org.apache.lucene.util.encoding.FourFlagsIntEncoder
 
free(int[]) - Method in class org.apache.lucene.facet.search.ArraysPool
Frees a no-longer-needed array.
free(float[]) - Method in class org.apache.lucene.facet.search.ArraysPool
Frees a no-longer-needed array.
free() - Method in class org.apache.lucene.facet.search.FacetArrays
Notifies that the arrays obtained from FacetArrays.getIntArray() or FacetArrays.getFloatArray() are no longer needed and can be freed.
fullPathLength() - Method in class org.apache.lucene.facet.taxonomy.CategoryPath
Returns the number of characters needed to represent the path, including delimiter characters, for using with CategoryPath.copyFullPath(char[], int, char).

G

get(CategoryListParams) - Method in class org.apache.lucene.facet.search.cache.CategoryListCache
Fetch the cached CategoryListData for a given CategoryListParams.
get(CategoryPath) - Method in class org.apache.lucene.facet.taxonomy.writercache.cl2o.Cl2oTaxonomyWriterCache
 
get(CategoryPath, int) - Method in class org.apache.lucene.facet.taxonomy.writercache.cl2o.CollisionMap
 
get(CategoryPath) - Method in class org.apache.lucene.facet.taxonomy.writercache.lru.LruTaxonomyWriterCache
 
get(CategoryPath) - 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(K) - Method in class org.apache.lucene.util.collections.ArrayHashMap
Returns the object mapped with the given key, or null if the key wasn't found.
get(float) - Method in class org.apache.lucene.util.collections.FloatToObjectMap
Returns the object mapped with the given key.
get(int) - Method in class org.apache.lucene.util.collections.IntArray
Get an element from a specific index.
get(int) - Method in class org.apache.lucene.util.collections.IntToDoubleMap
Returns the value mapped with the given key.
get(int) - Method in class org.apache.lucene.util.collections.IntToFloatMap
Returns the value mapped with the given key.
get(int) - Method in class org.apache.lucene.util.collections.IntToIntMap
Returns the object mapped with the given key.
get(int) - Method in class org.apache.lucene.util.collections.IntToObjectMap
Returns the object mapped with the given key.
get(K) - Method in class org.apache.lucene.util.collections.ObjectToFloatMap
Returns the float mapped with the given key.
get(K) - Method in class org.apache.lucene.util.collections.ObjectToIntMap
Returns the int mapped with the given key.
getAllCategoryListParams() - Method in class org.apache.lucene.facet.index.params.FacetIndexingParams
Returns a list of all categoryListParams that are used for facets indexing.
getAllCategoryListParams() - Method in class org.apache.lucene.facet.index.params.PerDimensionIndexingParams
 
getAssociation(CategoryPath) - Method in class org.apache.lucene.facet.associations.CategoryAssociationsContainer
Returns the CategoryAssociation that was set for the category, or null if none was defined.
getAssociations(int) - Method in class org.apache.lucene.facet.associations.FloatAssociationsPayloadIterator
Returns the float association values of the categories that are associated with the given document, or null if the document has no associations.
getAssociations(int) - Method in class org.apache.lucene.facet.associations.IntAssociationsPayloadIterator
Returns the integer association values of the categories that are associated with the given document, or null if the document has no associations.
getCacheSize() - Method in class org.apache.lucene.facet.search.TotalFacetCountsCache
 
getCategoryListCache() - Method in class org.apache.lucene.facet.search.params.FacetSearchParams
Returns the CategoryListCache.
getCategoryListData(CategoryListParams, IntsRef, Iterable<CategoryPath>) - Method in class org.apache.lucene.facet.associations.AssociationsFacetFields
 
getCategoryListData(CategoryListParams, IntsRef, Iterable<CategoryPath>) - Method in class org.apache.lucene.facet.index.FacetFields
Returns the category list data, as a mapping from key to BytesRef which includes the encoded data.
getCategoryListID() - Method in interface org.apache.lucene.facet.associations.CategoryAssociation
Returns the ID of the category association.
getCategoryListID() - Method in class org.apache.lucene.facet.associations.CategoryFloatAssociation
 
getCategoryListID() - Method in class org.apache.lucene.facet.associations.CategoryIntAssociation
 
getCategoryListMap(FacetArrays, int) - Method in class org.apache.lucene.facet.search.StandardFacetsAccumulator
Create an Aggregator and a CategoryListIterator for each and every FacetRequest.
getCategoryListParams(CategoryPath) - Method in class org.apache.lucene.facet.index.params.FacetIndexingParams
Returns the CategoryListParams for this CategoryPath.
getCategoryListParams(CategoryPath) - Method in class org.apache.lucene.facet.index.params.PerDimensionIndexingParams
Returns the CategoryListParams for the corresponding dimension which is returned by category.getComponent(0).
getCategoryPath() - Method in class org.apache.lucene.facet.search.params.FacetRequest
The root category of this facet request.
getCommitData() - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter
 
getCommitData() - Method in interface org.apache.lucene.facet.taxonomy.TaxonomyWriter
Returns the commit user data map that was set on TaxonomyWriter.setCommitData(Map).
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.
getComplementSet(ScoredDocIDs, IndexReader) - Static method in class org.apache.lucene.facet.util.ScoredDocIdsUtils
Create a complement of the input set.
getComplementThreshold() - Method in class org.apache.lucene.facet.search.FacetsAccumulator
Returns the complement threshold.
getComplementThreshold() - Method in class org.apache.lucene.facet.search.SamplingWrapper
 
getDefaultScore() - Method in class org.apache.lucene.facet.search.ScoredDocIdCollector
Returns the default score used when scoring is disabled.
getDepth() - Method in class org.apache.lucene.facet.search.params.FacetRequest
How deeply to look under the given category.
getDirectory() - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter
Returns the Directory of this taxonomy writer.
getDocID() - Method in interface org.apache.lucene.facet.search.ScoredDocIDsIterator
Returns the ID of the current document.
getDocIDs() - Method in interface org.apache.lucene.facet.search.ScoredDocIDs
Returns the set of doc IDs.
getDrillDownStream(Iterable<CategoryPath>) - Method in class org.apache.lucene.facet.associations.AssociationsFacetFields
 
getDrillDownStream(Iterable<CategoryPath>) - Method in class org.apache.lucene.facet.index.FacetFields
Returns a DrillDownStream for writing the categories drill-down terms.
getFacetDelimChar() - Method in class org.apache.lucene.facet.index.params.FacetIndexingParams
Returns the delimiter character used internally for concatenating category path components, e.g.
getFacetIndexingParams() - Method in class org.apache.lucene.facet.search.params.FacetSearchParams
Returns the FacetIndexingParams that were passed to the constructor.
getFacetRequest() - Method in class org.apache.lucene.facet.search.FacetResultsHandler
Return the facet request served by this handler.
getFacetRequest() - Method in class org.apache.lucene.facet.search.results.FacetResult
Request for which this result was obtained.
getFacetRequest() - Method in interface org.apache.lucene.facet.search.results.IntermediateFacetResult
Facet request for which this temporary result was created.
getFacetRequest() - Method in class org.apache.lucene.facet.search.TopKInEachNodeHandler.IntermediateFacetResultWithHash
 
getFacetRequests() - Method in class org.apache.lucene.facet.search.params.FacetSearchParams
Returns the list of facet requests that were passed to the constructor.
getFacetResultNode() - Method in class org.apache.lucene.facet.search.results.FacetResult
Facet result node matching the root of the facet request.
getFacetResults() - Method in class org.apache.lucene.facet.search.FacetsCollector
Return accumulated facets results (according to faceted search parameters) for collected documents.
getFloatArray() - Method in class org.apache.lucene.facet.search.FacetArrays
 
getIntArray() - Method in class org.apache.lucene.facet.search.FacetArrays
 
getLabel() - Method in interface org.apache.lucene.facet.search.results.FacetResultNode
Category path of the category of this result, or null if not computed, because the application did not request to compute it.
getLabel(TaxonomyReader) - Method in interface org.apache.lucene.facet.search.results.FacetResultNode
Category path of the category of this result.
getLabel() - Method in class org.apache.lucene.facet.search.results.MutableFacetResultNode
 
getLabel(TaxonomyReader) - Method in class org.apache.lucene.facet.search.results.MutableFacetResultNode
 
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.
getMaxOrdinal() - Method in class org.apache.lucene.facet.taxonomy.writercache.cl2o.LabelToOrdinal
return the maximal Ordinal assigned so far
getMaxSampleSize() - Method in class org.apache.lucene.facet.search.sampling.SamplingParams
Return the maxSampleSize.
getMaxSize() - Method in class org.apache.lucene.util.collections.LRUHashMap
Return the max size
getMemoryUsage() - Method in class org.apache.lucene.facet.taxonomy.writercache.cl2o.Cl2oTaxonomyWriterCache
Returns the number of bytes in memory used by this object.
getMinSampleSize() - Method in class org.apache.lucene.facet.search.sampling.SamplingParams
Return the minSampleSize.
getNextOrdinal() - Method in class org.apache.lucene.facet.taxonomy.writercache.cl2o.LabelToOrdinal
Returns the next unassigned ordinal.
getNumLabel() - Method in class org.apache.lucene.facet.search.params.FacetRequest
If getNumLabel() < getNumResults(), only the first getNumLabel() results will have their category paths calculated, and the rest will only be available as ordinals (category numbers) and will have null paths.
getNumResults() - Method in class org.apache.lucene.facet.search.params.FacetRequest
The number of sub-categories to return (at most).
getNumSubResults() - Method in interface org.apache.lucene.facet.search.results.FacetResultNode
Number of sub results
getNumSubResults() - Method in class org.apache.lucene.facet.search.results.MutableFacetResultNode
 
getNumValidDescendants() - Method in class org.apache.lucene.facet.search.results.FacetResult
Number of descendants of root facet result node, up till the requested depth, which are valid by the results handler in effect.
getOrdinal() - Method in interface org.apache.lucene.facet.search.results.FacetResultNode
Ordinal of the category of this result.
getOrdinal() - Method in class org.apache.lucene.facet.search.results.MutableFacetResultNode
 
getOrdinal(CategoryPath) - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyReader
 
getOrdinal(CategoryPath) - Method in class org.apache.lucene.facet.taxonomy.TaxonomyReader
Returns the ordinal of the category given as a path.
getOrdinal(CategoryPath) - Method in class org.apache.lucene.facet.taxonomy.writercache.cl2o.CompactLabelToOrdinal
 
getOrdinal(CategoryPath) - Method in class org.apache.lucene.facet.taxonomy.writercache.cl2o.LabelToOrdinal
 
getOrdinalPolicy() - Method in class org.apache.lucene.facet.index.params.FacetIndexingParams
Returns the OrdinalPolicy that is used during indexing.
getOrdinals(int, IntsRef) - Method in interface org.apache.lucene.facet.search.CategoryListIterator
Stores the category ordinals of the given document ID in the given IntsRef, starting at position 0 upto IntsRef.length.
getOrdinals(int, IntsRef) - Method in class org.apache.lucene.facet.search.PayloadCategoryListIteraor
 
getOrdinals(int, IntsRef) - Method in class org.apache.lucene.facet.util.MultiCategoryListIterator
 
getOversampleFactor() - Method in class org.apache.lucene.facet.search.sampling.SamplingParams
Return the oversampleFactor.
getParallelTaxonomyArrays() - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyReader
 
getParallelTaxonomyArrays() - Method in class org.apache.lucene.facet.taxonomy.TaxonomyReader
Returns a ParallelTaxonomyArrays object which can be used to efficiently traverse the taxonomy tree.
getParent(int) - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyReader
 
getParent(int) - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter
 
getParent(int) - Method in class org.apache.lucene.facet.taxonomy.TaxonomyReader
Returns the ordinal of the parent category of the category with the given ordinal, according to the following rules: If the given ordinal is the TaxonomyReader.ROOT_ORDINAL, an TaxonomyReader.INVALID_ORDINAL is returned.
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.
getPartitionSize() - Method in class org.apache.lucene.facet.index.params.FacetIndexingParams
Returns the size of a partition.
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.
getPathPolicy() - Method in class org.apache.lucene.facet.index.params.FacetIndexingParams
Returns the PathPolicy that is used during indexing.
getPayload(int) - Method in class org.apache.lucene.facet.search.PayloadIterator
Returns the payload of the given document, or null if the document does not exist, there are no more documents in the posting list, or the document exists but has not payload.
getRefCount() - Method in class org.apache.lucene.facet.taxonomy.TaxonomyReader
Returns the current refCount for this taxonomy reader.
getResidue() - Method in interface org.apache.lucene.facet.search.results.FacetResultNode
Value of screened out sub results.
getResidue() - Method in class org.apache.lucene.facet.search.results.MutableFacetResultNode
 
getResultMode() - Method in class org.apache.lucene.facet.search.params.FacetRequest
Return the requested result mode.
getSampleFixer(IndexReader, TaxonomyReader, FacetSearchParams) - Method in class org.apache.lucene.facet.search.sampling.Sampler
Get a fixer of sample facet accumulation results.
getSampler() - Method in class org.apache.lucene.facet.search.AdaptiveFacetsAccumulator
 
getSampleRatio() - Method in class org.apache.lucene.facet.search.sampling.SamplingParams
 
getSampleSet(ScoredDocIDs) - Method in class org.apache.lucene.facet.search.sampling.Sampler
Compute a sample set out of the input set, based on the SamplingParams.getSampleRatio() in effect.
getSamplingParams() - Method in class org.apache.lucene.facet.search.sampling.Sampler
Return the sampling params in effect
getSamplingThreshold() - Method in class org.apache.lucene.facet.search.sampling.SamplingParams
Return the samplingThreshold.
getScore() - Method in interface org.apache.lucene.facet.search.ScoredDocIDsIterator
Returns the score of the current document.
getScoredDocIDs() - Method in class org.apache.lucene.facet.search.ScoredDocIdCollector
 
getSingleton() - Static method in class org.apache.lucene.facet.search.TotalFacetCountsCache
Get the single instance of this cache
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.
getSortBy() - Method in class org.apache.lucene.facet.search.params.FacetRequest
Specify how should results be sorted.
getSortOrder() - Method in class org.apache.lucene.facet.search.params.FacetRequest
Return the requested order of results.
getStartPos() - Method in class org.apache.lucene.util.UnsafeByteArrayOutputStream
Returns the start position data was written to.
getSubResults() - Method in interface org.apache.lucene.facet.search.results.FacetResultNode
Contained sub results.
getSubResults() - Method in class org.apache.lucene.facet.search.results.MutableFacetResultNode
 
getTaxonomyReader() - Method in class org.apache.lucene.facet.search.FacetResultsHandler
Return taxonomy reader used for current facets accumulation operation.
getTerm() - Method in class org.apache.lucene.facet.index.params.CategoryListParams
A Term who's payload holds the category-list.
getTermVectors(int) - Method in class org.apache.lucene.facet.index.OrdinalMappingAtomicReader
 
getTotalCount(int) - Method in class org.apache.lucene.facet.search.TotalFacetCounts
Return the total count of an input category
getTotalCounts(IndexReader, TaxonomyReader, FacetIndexingParams, CategoryListCache) - Method in class org.apache.lucene.facet.search.TotalFacetCountsCache
Get the total facet counts for a reader/taxonomy pair and facet indexing parameters.
getTotalCountsFactor() - Method in class org.apache.lucene.facet.search.sampling.SamplingAccumulator
 
getTotalCountsFactor() - Method in class org.apache.lucene.facet.search.StandardFacetsAccumulator
Expert: factor by which counts should be multiplied when initializing the count arrays from total counts.
getValue() - Method in class org.apache.lucene.facet.associations.CategoryFloatAssociation
Returns the value associated with a category.
getValue() - Method in class org.apache.lucene.facet.associations.CategoryIntAssociation
Returns the value associated with a category.
getValue() - Method in interface org.apache.lucene.facet.search.results.FacetResultNode
Value of this result - usually either count or a value derived from some computing on the association of it.
getValue() - Method in class org.apache.lucene.facet.search.results.MutableFacetResultNode
 
getValueOf(FacetArrays, int) - Method in class org.apache.lucene.facet.search.params.associations.AssociationFloatSumFacetRequest
 
getValueOf(FacetArrays, int) - Method in class org.apache.lucene.facet.search.params.associations.AssociationIntSumFacetRequest
 
getValueOf(FacetArrays, int) - Method in class org.apache.lucene.facet.search.params.CountFacetRequest
 
getValueOf(FacetArrays, int) - Method in class org.apache.lucene.facet.search.params.FacetRequest
Return the value of a category used for facets computations for this request.
getValueOf(FacetArrays, int) - Method in class org.apache.lucene.facet.search.params.ScoreFacetRequest
 
GROUD - Static variable in class org.apache.lucene.util.collections.IntToIntMap
 
GROUND - Static variable in class org.apache.lucene.util.collections.IntToDoubleMap
 
GROUND - Static variable in class org.apache.lucene.util.collections.IntToFloatMap
 
grow() - Method in class org.apache.lucene.util.collections.ArrayHashMap
Allocates a new map of double the capacity, and fast-insert the old key-value pairs.
grow() - Method in class org.apache.lucene.util.collections.FloatToObjectMap
Grows the map.
grow() - Method in class org.apache.lucene.util.collections.IntHashSet
Grows the map.
grow() - Method in class org.apache.lucene.util.collections.IntToDoubleMap
Grows the map.
grow() - Method in class org.apache.lucene.util.collections.IntToFloatMap
Grows the map.
grow() - Method in class org.apache.lucene.util.collections.IntToIntMap
Grows the map.
grow() - Method in class org.apache.lucene.util.collections.IntToObjectMap
Grows the map.
grow() - Method in class org.apache.lucene.util.collections.ObjectToFloatMap
Grows the map.
grow() - Method in class org.apache.lucene.util.collections.ObjectToIntMap
Grows the map.

H

handleAssociation(int, T) - Method in class org.apache.lucene.facet.associations.AssociationsPayloadIterator
A hook for extending classes to handle the given association value for the ordinal.
handleAssociation(int, CategoryFloatAssociation) - Method in class org.apache.lucene.facet.associations.FloatAssociationsPayloadIterator
 
handleAssociation(int, CategoryIntAssociation) - Method in class org.apache.lucene.facet.associations.IntAssociationsPayloadIterator
 
hashCode() - Method in class org.apache.lucene.facet.index.params.CategoryListParams
 
hashCode() - Method in class org.apache.lucene.facet.index.params.FacetIndexingParams
 
hashCode() - Method in class org.apache.lucene.facet.search.aggregator.associations.AssociationFloatSumAggregator
 
hashCode() - Method in class org.apache.lucene.facet.search.aggregator.associations.AssociationIntSumAggregator
 
hashCode() - Method in class org.apache.lucene.facet.search.aggregator.CountingAggregator
 
hashCode() - Method in class org.apache.lucene.facet.search.aggregator.ScoringAggregator
 
hashCode() - Method in class org.apache.lucene.facet.search.params.FacetRequest
 
hashCode() - Method in class org.apache.lucene.facet.search.PayloadCategoryListIteraor
 
hashCode() - Method in class org.apache.lucene.facet.taxonomy.CategoryPath
 
hashCode() - Method in class org.apache.lucene.util.collections.ArrayHashMap
 
hashCode() - Method in class org.apache.lucene.util.collections.FloatToObjectMap
 
hashCode() - Method in class org.apache.lucene.util.collections.IntArray
Calculates a hash-code for HashTables
hashCode() - Method in class org.apache.lucene.util.collections.IntToDoubleMap
 
hashCode() - Method in class org.apache.lucene.util.collections.IntToFloatMap
 
hashCode() - Method in class org.apache.lucene.util.collections.IntToIntMap
 
hashCode() - Method in class org.apache.lucene.util.collections.IntToObjectMap
 
hashCode() - Method in class org.apache.lucene.util.collections.ObjectToFloatMap
 
hashCode() - Method in class org.apache.lucene.util.collections.ObjectToIntMap
 
hasNext() - Method in interface org.apache.lucene.util.collections.DoubleIterator
 
hasNext() - Method in interface org.apache.lucene.util.collections.FloatIterator
 
hasNext() - Method in interface org.apache.lucene.util.collections.IntIterator
 
Heap<T> - Interface in org.apache.lucene.facet.search
Declares an interface for heap (and heap alike) structures, handling a given type T

I

increaseResidue(double) - Method in class org.apache.lucene.facet.search.results.MutableFacetResultNode
increase the residue for this result.
increaseValue(double) - Method in class org.apache.lucene.facet.search.results.MutableFacetResultNode
increase the value for this result.
incRef() - Method in class org.apache.lucene.facet.taxonomy.TaxonomyReader
Expert: increments the refCount of this TaxonomyReader instance.
incrementToken() - Method in class org.apache.lucene.facet.index.DrillDownStream
 
INDEX_EPOCH - Static variable in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter
Property name of user commit data that contains the index epoch.
indexingParams - Variable in class org.apache.lucene.facet.index.FacetFields
 
indexingParams - Variable in class org.apache.lucene.facet.search.params.FacetSearchParams
 
indexReader - Variable in class org.apache.lucene.facet.search.FacetsAccumulator
 
indicator - Variable in class org.apache.lucene.util.encoding.ChunksIntEncoder
Represents bits flag byte.
init(TaxonomyWriter) - Method in class org.apache.lucene.facet.index.categorypolicy.NonTopLevelOrdinalPolicy
 
init(TaxonomyWriter) - Method in interface org.apache.lucene.facet.index.categorypolicy.OrdinalPolicy
Initialize the policy with a TaxonomyWriter.
initFacetsAccumulator(FacetSearchParams, IndexReader, TaxonomyReader) - Method in class org.apache.lucene.facet.search.FacetsCollector
Create the FacetsAccumulator to be used.
initScoredDocCollector(FacetSearchParams, IndexReader, TaxonomyReader) - Method in class org.apache.lucene.facet.search.FacetsCollector
Create a ScoredDocIdCollector to be used as the first phase of the facet collection.
insertSubResult(FacetResultNode) - Method in class org.apache.lucene.facet.search.results.MutableFacetResultNode
Insert sub result (as first).
insertWithOverflow(T) - Method in interface org.apache.lucene.facet.search.Heap
Insert a new value, returning the overflowen object
NOTE: This method should not be called after invoking Heap.pop()
IntArray - Class in org.apache.lucene.util.collections
A Class wrapper for a grow-able int[] which can be sorted and intersect with other IntArrays.
IntArray() - Constructor for class org.apache.lucene.util.collections.IntArray
Construct a default IntArray, size 0 and surly a sort should not occur.
IntAssociationsPayloadIterator - Class in org.apache.lucene.facet.associations
An AssociationsPayloadIterator over integer association values.
IntAssociationsPayloadIterator(String, CategoryIntAssociation) - Constructor for class org.apache.lucene.facet.associations.IntAssociationsPayloadIterator
 
IntDecoder - Class in org.apache.lucene.util.encoding
Decodes integers from a set BytesRef.
IntDecoder() - Constructor for class org.apache.lucene.util.encoding.IntDecoder
 
IntEncoder - Class in org.apache.lucene.util.encoding
Encodes integers to a set BytesRef.
IntEncoder() - Constructor for class org.apache.lucene.util.encoding.IntEncoder
 
IntEncoderFilter - Class in org.apache.lucene.util.encoding
An abstract implementation of IntEncoder which wraps another encoder.
IntEncoderFilter(IntEncoder) - Constructor for class org.apache.lucene.util.encoding.IntEncoderFilter
 
IntermediateFacetResult - Interface in org.apache.lucene.facet.search.results
Intermediate FacetResult of faceted search.
intersect(IntHashSet) - Method in class org.apache.lucene.util.collections.IntArray
Intersects the data with a given IntHashSet.
intersect(IntArray) - Method in class org.apache.lucene.util.collections.IntArray
Intersects the data with a given IntArray
IntHashSet - Class in org.apache.lucene.util.collections
A Set or primitive int.
IntHashSet() - Constructor for class org.apache.lucene.util.collections.IntHashSet
Constructs a map with default capacity.
IntHashSet(int) - Constructor for class org.apache.lucene.util.collections.IntHashSet
Constructs a map with given capacity.
IntIterator - Interface in org.apache.lucene.util.collections
Iterator interface for primitive int iteration.
IntToDoubleMap - Class in org.apache.lucene.util.collections
An Array-based hashtable which maps primitive int to a primitive double.
The hashtable is constracted with a given capacity, or 16 as a default.
IntToDoubleMap() - Constructor for class org.apache.lucene.util.collections.IntToDoubleMap
Constructs a map with default capacity.
IntToDoubleMap(int) - Constructor for class org.apache.lucene.util.collections.IntToDoubleMap
Constructs a map with given capacity.
IntToFloatMap - Class in org.apache.lucene.util.collections
An Array-based hashtable which maps primitive int to a primitive float.
The hashtable is constracted with a given capacity, or 16 as a default.
IntToFloatMap() - Constructor for class org.apache.lucene.util.collections.IntToFloatMap
Constructs a map with default capacity.
IntToFloatMap(int) - Constructor for class org.apache.lucene.util.collections.IntToFloatMap
Constructs a map with given capacity.
IntToIntMap - Class in org.apache.lucene.util.collections
An Array-based hashtable which maps primitive int to primitive int.
The hashtable is constracted with a given capacity, or 16 as a default.
IntToIntMap() - Constructor for class org.apache.lucene.util.collections.IntToIntMap
Constructs a map with default capacity.
IntToIntMap(int) - Constructor for class org.apache.lucene.util.collections.IntToIntMap
Constructs a map with given capacity.
IntToObjectMap<T> - Class in org.apache.lucene.util.collections
An Array-based hashtable which maps primitive int to Objects of generic type T.
The hashtable is constracted with a given capacity, or 16 as a default.
IntToObjectMap() - Constructor for class org.apache.lucene.util.collections.IntToObjectMap
Constructs a map with default capacity.
IntToObjectMap(int) - Constructor for class org.apache.lucene.util.collections.IntToObjectMap
Constructs a map with given capacity.
INVALID_ORDINAL - Static variable in class org.apache.lucene.facet.taxonomy.TaxonomyReader
Ordinals are always non-negative, so a negative ordinal can be used to signify an error.
INVALID_ORDINAL - Static variable in class org.apache.lucene.facet.taxonomy.writercache.cl2o.LabelToOrdinal
 
isAllowLabeling() - Method in class org.apache.lucene.facet.search.FacetsAccumulator
Check if labeling is allowed for this accumulator.
isAllowLabeling() - Method in class org.apache.lucene.facet.search.SamplingWrapper
 
isEmpty() - Method in class org.apache.lucene.util.collections.ArrayHashMap
Returns true iff the map is empty.
isEmpty() - Method in class org.apache.lucene.util.collections.FloatToObjectMap
 
isEmpty() - Method in class org.apache.lucene.util.collections.IntHashSet
 
isEmpty() - Method in class org.apache.lucene.util.collections.IntToDoubleMap
 
isEmpty() - Method in class org.apache.lucene.util.collections.IntToFloatMap
 
isEmpty() - Method in class org.apache.lucene.util.collections.IntToIntMap
 
isEmpty() - Method in class org.apache.lucene.util.collections.IntToObjectMap
 
isEmpty() - Method in class org.apache.lucene.util.collections.ObjectToFloatMap
 
isEmpty() - Method in class org.apache.lucene.util.collections.ObjectToIntMap
 
isFull() - Method in class org.apache.lucene.facet.taxonomy.writercache.cl2o.Cl2oTaxonomyWriterCache
 
isFull() - Method in class org.apache.lucene.facet.taxonomy.writercache.lru.LruTaxonomyWriterCache
 
isFull() - Method in interface org.apache.lucene.facet.taxonomy.writercache.TaxonomyWriterCache
Returns true if the cache is full, such that the next TaxonomyWriterCache.put(org.apache.lucene.facet.taxonomy.CategoryPath, int) will evict entries from it, false otherwise.
isSelfPartition(int, FacetArrays, int) - Method in class org.apache.lucene.facet.search.FacetResultsHandler
Check if an array contains the partition which contains ordinal
isUsingComplements - Variable in class org.apache.lucene.facet.search.StandardFacetsAccumulator
 
iterator() - Method in class org.apache.lucene.facet.associations.CategoryAssociationsContainer
 
iterator(int) - Method in class org.apache.lucene.facet.search.cache.CategoryListData
Iterate on the category list data for the specified partition.
iterator() - Method in interface org.apache.lucene.facet.search.ScoredDocIDs
Returns an iterator over the document IDs and their scores.
iterator() - Method in class org.apache.lucene.util.collections.ArrayHashMap
Returns an iterator on the mapped objects.
iterator() - Method in class org.apache.lucene.util.collections.FloatToObjectMap
Returns a new iterator for the mapped objects.
iterator() - Method in class org.apache.lucene.util.collections.IntHashSet
Returns a new iterator for the mapped objects.
iterator() - Method in class org.apache.lucene.util.collections.IntToDoubleMap
Returns a new iterator for the mapped double values.
iterator() - Method in class org.apache.lucene.util.collections.IntToFloatMap
Returns a new iterator for the mapped float values.
iterator() - Method in class org.apache.lucene.util.collections.IntToIntMap
Returns a new iterator for the mapped objects.
iterator() - Method in class org.apache.lucene.util.collections.IntToObjectMap
Returns a new iterator for the mapped objects.
iterator() - Method in class org.apache.lucene.util.collections.ObjectToFloatMap
Returns a new iterator for the mapped floats.
iterator() - Method in class org.apache.lucene.util.collections.ObjectToIntMap
Returns a new iterator for the mapped objects.

K

keyIterator() - Method in class org.apache.lucene.util.collections.ArrayHashMap
Returns an iterator on the map keys.
keyIterator() - Method in class org.apache.lucene.util.collections.FloatToObjectMap
Returns an iterator on the map keys.
keyIterator() - Method in class org.apache.lucene.util.collections.IntToDoubleMap
Returns an iterator on the map keys.
keyIterator() - Method in class org.apache.lucene.util.collections.IntToFloatMap
Returns an iterator on the map keys.
keyIterator() - Method in class org.apache.lucene.util.collections.IntToIntMap
Returns an iterator on the map keys.
keyIterator() - Method in class org.apache.lucene.util.collections.IntToObjectMap
Returns an iterator on the map keys.
keyIterator() - Method in class org.apache.lucene.util.collections.ObjectToFloatMap
Returns an iterator on the map keys.
keyIterator() - Method in class org.apache.lucene.util.collections.ObjectToIntMap
 

L

labelResult(FacetResult) - Method in class org.apache.lucene.facet.search.FacetResultsHandler
Label results according to settings in FacetRequest, such as FacetRequest.getNumLabel().
labelResult(FacetResult) - Method in class org.apache.lucene.facet.search.TopKFacetResultsHandler
 
labelResult(FacetResult) - Method in class org.apache.lucene.facet.search.TopKInEachNodeHandler
 
LabelToOrdinal - Class in org.apache.lucene.facet.taxonomy.writercache.cl2o
Abstract class for storing Label->Ordinal mappings in a taxonomy.
LabelToOrdinal() - Constructor for class org.apache.lucene.facet.taxonomy.writercache.cl2o.LabelToOrdinal
 
length - Variable in class org.apache.lucene.facet.taxonomy.CategoryPath
The number of components of this CategoryPath.
length() - Method in class org.apache.lucene.util.UnsafeByteArrayOutputStream
Returns the number of relevant bytes.
load(File, IndexReader, TaxonomyReader, FacetIndexingParams) - Method in class org.apache.lucene.facet.search.TotalFacetCountsCache
Load TotalFacetCounts matching input parameters from the provided outputFile and add them into the cache for the provided indexReader, taxonomy, and facetIndexingParams.
loadAndRegister(CategoryListParams, IndexReader, TaxonomyReader, FacetIndexingParams) - Method in class org.apache.lucene.facet.search.cache.CategoryListCache
Load and register CategoryListData.
longHashCode() - Method in class org.apache.lucene.facet.taxonomy.CategoryPath
Calculate a 64-bit hash function for this path.
LRUHashMap<K,V> - Class in org.apache.lucene.util.collections
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.util.collections.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.lru
LRU TaxonomyWriterCache - good choice for huge taxonomies.
LruTaxonomyWriterCache(int) - Constructor for class org.apache.lucene.facet.taxonomy.writercache.lru.LruTaxonomyWriterCache
 
LruTaxonomyWriterCache(int, LruTaxonomyWriterCache.LRUType) - Constructor for class org.apache.lucene.facet.taxonomy.writercache.lru.LruTaxonomyWriterCache
 
LruTaxonomyWriterCache.LRUType - Enum in org.apache.lucene.facet.taxonomy.writercache.lru
Determines cache type.

M

mapToAACOs - Variable in class org.apache.lucene.facet.search.TopKInEachNodeHandler.IntermediateFacetResultWithHash
 
mark(int) - Method in class org.apache.lucene.util.UnsafeByteArrayInputStream
 
markSupported() - Method in class org.apache.lucene.util.UnsafeByteArrayInputStream
 
maxBytesNeeded() - Method in interface org.apache.lucene.facet.associations.CategoryAssociation
Returns the maximum bytes needed to encode the association value.
maxBytesNeeded() - Method in class org.apache.lucene.facet.associations.CategoryFloatAssociation
 
maxBytesNeeded() - Method in class org.apache.lucene.facet.associations.CategoryIntAssociation
 
maxPartitions - Variable in class org.apache.lucene.facet.search.StandardFacetsAccumulator
 
mayComplement() - Method in class org.apache.lucene.facet.search.FacetsAccumulator
check if all requests are complementable
mergeResults(IntermediateFacetResult...) - Method in class org.apache.lucene.facet.search.FacetResultsHandler
Merge results of several facet partitions.
mergeResults(IntermediateFacetResult...) - Method in class org.apache.lucene.facet.search.TopKFacetResultsHandler
 
mergeResults(IntermediateFacetResult...) - Method in class org.apache.lucene.facet.search.TopKInEachNodeHandler
Merge several partitions' IntermediateFacetResult-s into one of the same format
MultiCategoryListIterator - Class in org.apache.lucene.facet.util
Iterates over multiple CategoryListIterators, consuming the provided iterators in order.
MultiCategoryListIterator(CategoryListIterator...) - Constructor for class org.apache.lucene.facet.util.MultiCategoryListIterator
Receives the iterators to iterate on
MutableFacetResultNode - Class in org.apache.lucene.facet.search.results
Mutable implementation for Result of faceted search for a certain taxonomy node.
MutableFacetResultNode(int, double) - Constructor for class org.apache.lucene.facet.search.results.MutableFacetResultNode
Create a Facet Result Node.
MutableFacetResultNode(int, double, double, CategoryPath, List<FacetResultNode>) - Constructor for class org.apache.lucene.facet.search.results.MutableFacetResultNode
Create a Facet Result Node.
MutableFacetResultNode(FacetResultNode, boolean) - Constructor for class org.apache.lucene.facet.search.results.MutableFacetResultNode
Create a mutable facet result node from another result node

N

NameHashIntCacheLRU - Class in org.apache.lucene.facet.taxonomy.writercache.lru
An an LRU cache of mapping from name to int.
newFloatArray() - Method in class org.apache.lucene.facet.search.FacetArrays
 
newFloatArray() - Method in class org.apache.lucene.facet.search.ReusingFacetArrays
 
newIntArray() - Method in class org.apache.lucene.facet.search.FacetArrays
 
newIntArray() - Method in class org.apache.lucene.facet.search.ReusingFacetArrays
 
next() - Method in interface org.apache.lucene.facet.search.ScoredDocIDsIterator
Iterate to the next document/score pair.
next() - Method in interface org.apache.lucene.util.collections.DoubleIterator
 
next() - Method in interface org.apache.lucene.util.collections.FloatIterator
 
next() - Method in interface org.apache.lucene.util.collections.IntIterator
 
NO_PARENTS - Static variable in interface org.apache.lucene.facet.index.categorypolicy.OrdinalPolicy
An OrdinalPolicy which never stores parent ordinals.
NOnesIntDecoder - Class in org.apache.lucene.util.encoding
Decodes values encoded encoded with NOnesIntEncoder.
NOnesIntDecoder(int) - Constructor for class org.apache.lucene.util.encoding.NOnesIntDecoder
Constructs a decoder with a given N (Number of consecutive '1's which are translated into a single target value '2'.
NOnesIntEncoder - Class in org.apache.lucene.util.encoding
A variation of FourFlagsIntEncoder which translates the data as follows: Values ≥ 2 are trnalsated to value+1 (2 ⇒ 3, 3 ⇒ 4 and so forth).
NOnesIntEncoder(int) - Constructor for class org.apache.lucene.util.encoding.NOnesIntEncoder
Constructs an encoder with a given value of N (N: Number of consecutive '1's to be translated into single target value '2').
NonTopLevelOrdinalPolicy - Class in org.apache.lucene.facet.index.categorypolicy
Filter out any "top level" category ordinals.
NonTopLevelOrdinalPolicy() - Constructor for class org.apache.lucene.facet.index.categorypolicy.NonTopLevelOrdinalPolicy
Constructs a new non-top-level-ordinal-filter.
NonTopLevelPathPolicy - Class in org.apache.lucene.facet.index.categorypolicy
This class filters our the ROOT category, and it's direct descendants.
NonTopLevelPathPolicy() - Constructor for class org.apache.lucene.facet.index.categorypolicy.NonTopLevelPathPolicy
 
numDocIds - Variable in class org.apache.lucene.facet.search.ScoredDocIdCollector
 

O

ObjectToFloatMap<K> - Class in org.apache.lucene.util.collections
An Array-based hashtable which maps Objects of generic type T to primitive float values.
The hashtable is constructed with a given capacity, or 16 as a default.
ObjectToFloatMap() - Constructor for class org.apache.lucene.util.collections.ObjectToFloatMap
Constructs a map with default capacity.
ObjectToFloatMap(int) - Constructor for class org.apache.lucene.util.collections.ObjectToFloatMap
Constructs a map with given capacity.
ObjectToIntMap<K> - Class in org.apache.lucene.util.collections
An Array-based hashtable which maps Objects of generic type T to primitive int values.
The hashtable is constructed with a given capacity, or 16 as a default.
ObjectToIntMap() - Constructor for class org.apache.lucene.util.collections.ObjectToIntMap
Constructs a map with default capacity.
ObjectToIntMap(int) - Constructor for class org.apache.lucene.util.collections.ObjectToIntMap
Constructs a map with given capacity.
openIfChanged(T) - Static method in class org.apache.lucene.facet.taxonomy.TaxonomyReader
If the taxonomy has changed since the provided reader was opened, open and return a new TaxonomyReader; else, return null.
openIndexReader(Directory) - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyReader
 
openIndexReader(IndexWriter) - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyReader
 
openIndexWriter(Directory, IndexWriterConfig) - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter
Open internal index writer, which contains the taxonomy data.
ordinal - Variable in class org.apache.lucene.util.encoding.ChunksIntEncoder
Counts the current ordinal of the encoded value.
OrdinalMappingAtomicReader - Class in org.apache.lucene.facet.index
A FilterAtomicReader for updating facets ordinal references, based on an ordinal map.
OrdinalMappingAtomicReader(AtomicReader, int[]) - Constructor for class org.apache.lucene.facet.index.OrdinalMappingAtomicReader
Wraps an AtomicReader, mapping ordinals according to the ordinalMap.
OrdinalMappingAtomicReader(AtomicReader, int[], FacetIndexingParams) - Constructor for class org.apache.lucene.facet.index.OrdinalMappingAtomicReader
Wraps an AtomicReader, mapping ordinals according to the ordinalMap, using the provided indexingParams.
OrdinalPolicy - Interface in org.apache.lucene.facet.index.categorypolicy
A policy for adding category parent ordinals to the list of ordinals that are encoded for a given document.
org.apache.lucene.facet - package org.apache.lucene.facet
Provides faceted indexing and search capabilities.
org.apache.lucene.facet.associations - package org.apache.lucene.facet.associations
Category Association
org.apache.lucene.facet.index - package org.apache.lucene.facet.index
Indexing of document categories
org.apache.lucene.facet.index.categorypolicy - package org.apache.lucene.facet.index.categorypolicy
Policies for indexing categories
org.apache.lucene.facet.index.params - package org.apache.lucene.facet.index.params
Indexing-time specifications for handling facets
org.apache.lucene.facet.search - package org.apache.lucene.facet.search
Faceted Search API
org.apache.lucene.facet.search.aggregator - package org.apache.lucene.facet.search.aggregator
Aggregating Facets during Faceted Search
org.apache.lucene.facet.search.aggregator.associations - package org.apache.lucene.facet.search.aggregator.associations
Association-based aggregators.
org.apache.lucene.facet.search.cache - package org.apache.lucene.facet.search.cache
Caching to speed up facets accumulation.
org.apache.lucene.facet.search.params - package org.apache.lucene.facet.search.params
Parameters for Faceted Search
org.apache.lucene.facet.search.params.associations - package org.apache.lucene.facet.search.params.associations
Association-based Parameters for Faceted Search.
org.apache.lucene.facet.search.results - package org.apache.lucene.facet.search.results
Results of Faceted Search
org.apache.lucene.facet.search.sampling - package org.apache.lucene.facet.search.sampling
Sampling for facets accumulation
org.apache.lucene.facet.taxonomy - package org.apache.lucene.facet.taxonomy
Taxonomy of Categories
org.apache.lucene.facet.taxonomy.directory - package org.apache.lucene.facet.taxonomy.directory
Taxonomy implemented using a Lucene-Index
org.apache.lucene.facet.taxonomy.writercache - package org.apache.lucene.facet.taxonomy.writercache
Improves indexing time by caching a map of CategoryPath to their Ordinal
org.apache.lucene.facet.taxonomy.writercache.cl2o - package org.apache.lucene.facet.taxonomy.writercache.cl2o
Category->Ordinal caching implementation using an optimized data-structures
org.apache.lucene.facet.taxonomy.writercache.lru - package org.apache.lucene.facet.taxonomy.writercache.lru
An LRU cache implementation for the CategoryPath to Ordinal map
org.apache.lucene.facet.util - package org.apache.lucene.facet.util
Various utilities for faceted search
org.apache.lucene.util - package org.apache.lucene.util
Low-level faceting utilities.
org.apache.lucene.util.collections - package org.apache.lucene.util.collections
Various optimized Collections implementations.
org.apache.lucene.util.encoding - package org.apache.lucene.util.encoding
Offers various encoders and decoders for integers, as well as the mechanisms to create new ones.
overSampledSearchParams(FacetSearchParams) - Method in class org.apache.lucene.facet.search.sampling.Sampler
Over-sampled search params, wrapping each request with an over-sampled one.

P

ParallelTaxonomyArrays - Class in org.apache.lucene.facet.taxonomy.directory
Returns 3 arrays for traversing the taxonomy: parents: parents[i] denotes the parent of category ordinal i. children: children[i] denotes the youngest child of category ordinal i.
ParallelTaxonomyArrays(IndexReader) - Constructor for class org.apache.lucene.facet.taxonomy.directory.ParallelTaxonomyArrays
 
ParallelTaxonomyArrays(IndexReader, ParallelTaxonomyArrays) - Constructor for class org.apache.lucene.facet.taxonomy.directory.ParallelTaxonomyArrays
 
parents() - Method in class org.apache.lucene.facet.taxonomy.directory.ParallelTaxonomyArrays
Returns the parents array, where parents[i] denotes the parent of category ordinal i.
partitionName(CategoryListParams, int) - Static method in class org.apache.lucene.facet.util.PartitionsUtils
Partition name by its number
partitionNameByOrdinal(FacetIndexingParams, CategoryListParams, int) - Static method in class org.apache.lucene.facet.util.PartitionsUtils
Partition name by category ordinal
partitionNumber(FacetIndexingParams, int) - Static method in class org.apache.lucene.facet.util.PartitionsUtils
Partition number of an ordinal.
partitionOffset(FacetIndexingParams, int, TaxonomyReader) - Static method in class org.apache.lucene.facet.util.PartitionsUtils
Get the offset for a given partition.
partitionSize - Variable in class org.apache.lucene.facet.search.StandardFacetsAccumulator
 
partitionSize(FacetIndexingParams, TaxonomyReader) - Static method in class org.apache.lucene.facet.util.PartitionsUtils
Get the partition size in this parameter, or return the size of the taxonomy, which is smaller.
PartitionsUtils - Class in org.apache.lucene.facet.util
Utilities for partitions - sizes and such
PartitionsUtils() - Constructor for class org.apache.lucene.facet.util.PartitionsUtils
 
PathPolicy - Interface in org.apache.lucene.facet.index.categorypolicy
Determines which categories should be added as terms to the DrillDownStream.
PayloadCategoryListIteraor - Class in org.apache.lucene.facet.search
A CategoryListIterator which reads the category ordinals from a payload.
PayloadCategoryListIteraor(Term, IntDecoder) - Constructor for class org.apache.lucene.facet.search.PayloadCategoryListIteraor
 
PayloadIterator - Class in org.apache.lucene.facet.search
A utility class for iterating through a posting list of a given term and retrieving the payload of the first position in every document.
PayloadIterator(Term) - Constructor for class org.apache.lucene.facet.search.PayloadIterator
 
PerDimensionIndexingParams - Class in org.apache.lucene.facet.index.params
A FacetIndexingParams that utilizes different category lists, defined by the dimension specified by a category (see PerDimensionIndexingParams.PerDimensionIndexingParams(Map, CategoryListParams).
PerDimensionIndexingParams(Map<CategoryPath, CategoryListParams>) - Constructor for class org.apache.lucene.facet.index.params.PerDimensionIndexingParams
Initializes a new instance with the given dimension-to-params mapping.
PerDimensionIndexingParams(Map<CategoryPath, CategoryListParams>, CategoryListParams) - Constructor for class org.apache.lucene.facet.index.params.PerDimensionIndexingParams
Same as PerDimensionIndexingParams.PerDimensionIndexingParams(Map), only the given CategoryListParams will be used for any dimension that is not specified in the given mapping.
pop() - Method in interface org.apache.lucene.facet.search.Heap
Get and remove the top of the Heap
NOTE: Once Heap.pop() is called no other Heap.add(Object) or Heap.insertWithOverflow(Object) should be called.
prepareCommit() - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter
prepare most of the work needed for a two-phase commit.
put(CategoryPath, int) - Method in class org.apache.lucene.facet.taxonomy.writercache.cl2o.Cl2oTaxonomyWriterCache
 
put(CategoryPath, int) - Method in class org.apache.lucene.facet.taxonomy.writercache.lru.LruTaxonomyWriterCache
 
put(CategoryPath, 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(K, V) - Method in class org.apache.lucene.util.collections.ArrayHashMap
Inserts the <key,value> pair into the map.
put(float, T) - Method in class org.apache.lucene.util.collections.FloatToObjectMap
Inserts the <key,value> pair into the map.
put(int, double) - Method in class org.apache.lucene.util.collections.IntToDoubleMap
Inserts the <key,value> pair into the map.
put(int, float) - Method in class org.apache.lucene.util.collections.IntToFloatMap
Inserts the <key,value> pair into the map.
put(int, int) - Method in class org.apache.lucene.util.collections.IntToIntMap
Inserts the <key,value> pair into the map.
put(int, T) - Method in class org.apache.lucene.util.collections.IntToObjectMap
Inserts the <key,value> pair into the map.
put(K, float) - Method in class org.apache.lucene.util.collections.ObjectToFloatMap
Inserts the <key,value> pair into the map.
put(K, int) - Method in class org.apache.lucene.util.collections.ObjectToIntMap
Inserts the <key,value> pair into the map.

Q

query(FacetIndexingParams, Query, CategoryPath...) - Static method in class org.apache.lucene.facet.search.DrillDown
Wraps a given Query as a drill-down query over the given categories, assuming all are required (e.g.
query(FacetSearchParams, Query, CategoryPath...) - Static method in class org.apache.lucene.facet.search.DrillDown
 

R

RandomSampler - Class in org.apache.lucene.facet.search.sampling
Simple random sampler
RandomSampler() - Constructor for class org.apache.lucene.facet.search.sampling.RandomSampler
 
RandomSampler(SamplingParams, Random) - Constructor for class org.apache.lucene.facet.search.sampling.RandomSampler
 
read() - Method in class org.apache.lucene.util.UnsafeByteArrayInputStream
Read a byte.
rearrangeFacetResult(FacetResult) - Method in class org.apache.lucene.facet.search.FacetResultsHandler
Perform any rearrangement as required on a facet result that has changed after it was rendered.
rearrangeFacetResult(FacetResult) - Method in class org.apache.lucene.facet.search.TopKFacetResultsHandler
 
rearrangeFacetResult(FacetResult) - Method in class org.apache.lucene.facet.search.TopKInEachNodeHandler
 
register(CategoryListParams, CategoryListData) - Method in class org.apache.lucene.facet.search.cache.CategoryListCache
Register a pre-computed CategoryListData.
reInit(byte[]) - Method in class org.apache.lucene.util.UnsafeByteArrayInputStream
Initialize the stream with a given buffer, using the default limits of [0, buffer.length)
reInit(byte[], int, int) - Method in class org.apache.lucene.util.UnsafeByteArrayInputStream
Initialize the stream with a given byte array as the source of the stream, at the specific range: [startPos, endPos)
reInit(byte[], int) - Method in class org.apache.lucene.util.UnsafeByteArrayOutputStream
For reuse-ability, this stream object can be re-initialized with another given buffer and starting position.
reInit(byte[]) - Method in class org.apache.lucene.util.UnsafeByteArrayOutputStream
For reuse-ability, this stream object can be re-initialized with another given buffer, using 0 as default starting position.
remove(K) - Method in class org.apache.lucene.util.collections.ArrayHashMap
Removes a <key,value> pair from the map and returns the mapped value, or null if the none existed.
remove() - Method in interface org.apache.lucene.util.collections.DoubleIterator
 
remove() - Method in interface org.apache.lucene.util.collections.FloatIterator
 
remove(float) - Method in class org.apache.lucene.util.collections.FloatToObjectMap
Removes a <key,value> pair from the map and returns the mapped value, or null if the none existed.
remove(int) - Method in class org.apache.lucene.util.collections.IntHashSet
Remove a pair from the map, specified by it's key.
remove() - Method in interface org.apache.lucene.util.collections.IntIterator
 
remove(int) - Method in class org.apache.lucene.util.collections.IntToDoubleMap
Removes a <key,value> pair from the map and returns the mapped value, or Double.NaN if the none existed.
remove(int) - Method in class org.apache.lucene.util.collections.IntToFloatMap
Removes a <key,value> pair from the map and returns the mapped value, or Float.NaN if the none existed.
remove(int) - Method in class org.apache.lucene.util.collections.IntToIntMap
Removes a <key,value> pair from the map and returns the mapped value, or 0 if the none existed.
remove(int) - Method in class org.apache.lucene.util.collections.IntToObjectMap
Removes a <key,value> pair from the map and returns the mapped value, or null if the none existed.
remove(K) - Method in class org.apache.lucene.util.collections.ObjectToFloatMap
Removes a <key,value> pair from the map and returns the mapped value, or Float.NaN if the none existed.
remove(K) - Method in class org.apache.lucene.util.collections.ObjectToIntMap
Removes a <key,value> pair from the map and returns the mapped value, or 0 if the none existed.
removeEldestEntry(Map.Entry<K, V>) - Method in class org.apache.lucene.util.collections.LRUHashMap
 
renderFacetResult(IntermediateFacetResult) - Method in class org.apache.lucene.facet.search.FacetResultsHandler
Create a facet result from the temporary result.
renderFacetResult(IntermediateFacetResult) - Method in class org.apache.lucene.facet.search.TopKFacetResultsHandler
 
renderFacetResult(IntermediateFacetResult) - Method in class org.apache.lucene.facet.search.TopKInEachNodeHandler
 
RepeatableSampler - Class in org.apache.lucene.facet.search.sampling
Take random samples of large collections.
RepeatableSampler(SamplingParams) - Constructor for class org.apache.lucene.facet.search.sampling.RepeatableSampler
 
replaceTaxonomy(Directory) - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter
Replaces the current taxonomy with the given one.
requireDocumentScore() - Method in class org.apache.lucene.facet.search.params.associations.AssociationFloatSumFacetRequest
 
requireDocumentScore() - Method in class org.apache.lucene.facet.search.params.associations.AssociationIntSumFacetRequest
 
requireDocumentScore() - Method in class org.apache.lucene.facet.search.params.CountFacetRequest
 
requireDocumentScore() - Method in class org.apache.lucene.facet.search.params.FacetRequest
Indicates whether the results of this request depends on each result document's score
requireDocumentScore() - Method in class org.apache.lucene.facet.search.params.ScoreFacetRequest
 
reset() - Method in class org.apache.lucene.facet.index.DrillDownStream
 
reset(int, double) - Method in class org.apache.lucene.facet.search.results.MutableFacetResultNode
Reset a facet Result Node.
reset() - Method in class org.apache.lucene.util.UnsafeByteArrayInputStream
Resets the stream back to its original state.
ResultSortUtils - Class in org.apache.lucene.facet.util
Utilities for generating facet results sorted as required
ResultSortUtils() - Constructor for class org.apache.lucene.facet.util.ResultSortUtils
 
ReusingFacetArrays - Class in org.apache.lucene.facet.search
A FacetArrays which uses the ArraysPool to allocate new arrays and pool them on FacetArrays.free().
ReusingFacetArrays(ArraysPool) - Constructor for class org.apache.lucene.facet.search.ReusingFacetArrays
 
rollback() - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter
Rollback changes to the taxonomy writer and closes the instance.
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.

S

SampleFixer - Interface in org.apache.lucene.facet.search.sampling
Fixer of sample facet accumulation results
Sampler - Class in org.apache.lucene.facet.search.sampling
Sampling definition for facets accumulation
Sampler() - Constructor for class org.apache.lucene.facet.search.sampling.Sampler
Construct with SamplingParams
Sampler(SamplingParams) - Constructor for class org.apache.lucene.facet.search.sampling.Sampler
Construct with certain SamplingParams
Sampler.SampleResult - Class in org.apache.lucene.facet.search.sampling
Result of sample computation
Sampler.SampleResult(ScoredDocIDs, double) - Constructor for class org.apache.lucene.facet.search.sampling.Sampler.SampleResult
 
SamplingAccumulator - Class in org.apache.lucene.facet.search.sampling
Facets accumulation with sampling.
SamplingAccumulator(Sampler, FacetSearchParams, IndexReader, TaxonomyReader, FacetArrays) - Constructor for class org.apache.lucene.facet.search.sampling.SamplingAccumulator
 
SamplingAccumulator(Sampler, FacetSearchParams, IndexReader, TaxonomyReader) - Constructor for class org.apache.lucene.facet.search.sampling.SamplingAccumulator
Constructor...
samplingParams - Variable in class org.apache.lucene.facet.search.sampling.Sampler
 
SamplingParams - Class in org.apache.lucene.facet.search.sampling
Parameters for sampling, dictating whether sampling is to take place and how.
SamplingParams() - Constructor for class org.apache.lucene.facet.search.sampling.SamplingParams
 
SamplingWrapper - Class in org.apache.lucene.facet.search
Wrap any Facets Accumulator with sampling.
SamplingWrapper(FacetsAccumulator, Sampler) - Constructor for class org.apache.lucene.facet.search.SamplingWrapper
 
ScoredDocIdCollector - Class in org.apache.lucene.facet.search
A Collector which stores all docIDs and their scores in a ScoredDocIDs instance.
ScoredDocIDs - Interface in org.apache.lucene.facet.search
Document IDs with scores for each, driving facets accumulation.
scoredDocIdsIterator() - Method in class org.apache.lucene.facet.search.ScoredDocIdCollector
 
ScoredDocIDsIterator - Interface in org.apache.lucene.facet.search
Iterator over document IDs and their scores.
ScoredDocIdsUtils - Class in org.apache.lucene.facet.util
Utility methods for Scored Doc IDs.
ScoredDocIdsUtils() - Constructor for class org.apache.lucene.facet.util.ScoredDocIdsUtils
 
ScoreFacetRequest - Class in org.apache.lucene.facet.search.params
Facet request for weighting facets according to document scores.
ScoreFacetRequest(CategoryPath, int) - Constructor for class org.apache.lucene.facet.search.params.ScoreFacetRequest
Create a score facet request for a given node in the taxonomy.
ScoringAggregator - Class in org.apache.lucene.facet.search.aggregator
An Aggregator which updates the weight of a category according to the scores of the documents it was found in.
ScoringAggregator(float[]) - Constructor for class org.apache.lucene.facet.search.aggregator.ScoringAggregator
 
searchParams - Variable in class org.apache.lucene.facet.search.FacetsAccumulator
 
serialize(ByteArrayDataOutput) - Method in interface org.apache.lucene.facet.associations.CategoryAssociation
Serializes the associated value into the given DataOutput.
serialize(ByteArrayDataOutput) - Method in class org.apache.lucene.facet.associations.CategoryFloatAssociation
 
serialize(ByteArrayDataOutput) - Method in class org.apache.lucene.facet.associations.CategoryIntAssociation
 
set(int, int) - Method in class org.apache.lucene.util.collections.IntArray
 
setAllowLabeling(boolean) - Method in class org.apache.lucene.facet.search.FacetsAccumulator
Set whether labeling is allowed for this accumulator.
setAllowLabeling(boolean) - Method in class org.apache.lucene.facet.search.SamplingWrapper
 
setAssociation(CategoryPath, CategoryAssociation) - Method in class org.apache.lucene.facet.associations.CategoryAssociationsContainer
Adds the CategoryAssociation for the given category.
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.search.TotalFacetCountsCache
Set the number of TotalFacetCounts arrays that will remain in memory cache.
setCacheSize(int) - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyReader
setCacheSize controls the maximum allowed size of each of the caches used by DirectoryTaxonomyReader.getPath(int) and DirectoryTaxonomyReader.getOrdinal(CategoryPath).
setCommitData(Map<String, String>) - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter
 
setCommitData(Map<String, String>) - Method in interface org.apache.lucene.facet.taxonomy.TaxonomyWriter
Sets the commit user data map.
setComplementThreshold(double) - Method in class org.apache.lucene.facet.search.FacetsAccumulator
Set the complement threshold.
setComplementThreshold(double) - Method in class org.apache.lucene.facet.search.SamplingWrapper
 
setDefaultScore(float) - Method in class org.apache.lucene.facet.search.ScoredDocIdCollector
Set the default score.
setDelimiter(char) - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyReader
setDelimiter changes the character that the taxonomy uses in its internal storage as a delimiter between category components.
setDelimiter(char) - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter
Changes the character that the taxonomy uses in its internal storage as a delimiter between category components.
setDepth(int) - Method in class org.apache.lucene.facet.search.params.FacetRequest
 
setLabel(CategoryPath) - Method in class org.apache.lucene.facet.search.results.MutableFacetResultNode
Set the label of the category of this result.
setMaxSampleSize(int) - Method in class org.apache.lucene.facet.search.sampling.SamplingParams
 
setMaxSize(int) - Method in class org.apache.lucene.util.collections.LRUHashMap
setMaxSize() allows changing the map's maximal number of elements which was defined at construction time.
setMinSampleSize(int) - Method in class org.apache.lucene.facet.search.sampling.SamplingParams
 
setNextDoc(int) - Method in class org.apache.lucene.facet.associations.AssociationsPayloadIterator
Skip to the requested document.
setNextReader(AtomicReaderContext) - Method in class org.apache.lucene.facet.associations.AssociationsPayloadIterator
setNextReader(AtomicReaderContext) - Method in interface org.apache.lucene.facet.search.aggregator.Aggregator
Sets the AtomicReaderContext for which Aggregator.aggregate(int, float, IntsRef) calls will be made.
setNextReader(AtomicReaderContext) - Method in class org.apache.lucene.facet.search.aggregator.associations.AssociationFloatSumAggregator
 
setNextReader(AtomicReaderContext) - Method in class org.apache.lucene.facet.search.aggregator.associations.AssociationIntSumAggregator
 
setNextReader(AtomicReaderContext) - Method in class org.apache.lucene.facet.search.aggregator.CountingAggregator
 
setNextReader(AtomicReaderContext) - Method in class org.apache.lucene.facet.search.aggregator.ScoringAggregator
 
setNextReader(AtomicReaderContext) - Method in interface org.apache.lucene.facet.search.CategoryListIterator
setNextReader(AtomicReaderContext) - Method in class org.apache.lucene.facet.search.FacetsCollector
 
setNextReader(AtomicReaderContext) - Method in class org.apache.lucene.facet.search.PayloadCategoryListIteraor
 
setNextReader(AtomicReaderContext) - Method in class org.apache.lucene.facet.search.PayloadIterator
Sets the AtomicReaderContext for which PayloadIterator.getPayload(int) calls will be made.
setNextReader(AtomicReaderContext) - Method in class org.apache.lucene.facet.search.ScoredDocIdCollector
 
setNextReader(AtomicReaderContext) - Method in class org.apache.lucene.facet.util.MultiCategoryListIterator
 
setNumLabel(int) - Method in class org.apache.lucene.facet.search.params.FacetRequest
 
setOversampleFactor(double) - Method in class org.apache.lucene.facet.search.sampling.SamplingParams
 
setResidue(double) - Method in class org.apache.lucene.facet.search.results.MutableFacetResultNode
Set the residue.
setResultMode(FacetRequest.ResultMode) - Method in class org.apache.lucene.facet.search.params.FacetRequest
 
setSampler(Sampler) - Method in class org.apache.lucene.facet.search.AdaptiveFacetsAccumulator
Set the sampler.
setSampleRatio(double) - Method in class org.apache.lucene.facet.search.sampling.SamplingParams
 
setSamplingThreshold(int) - Method in class org.apache.lucene.facet.search.sampling.SamplingParams
Set a sampling-threshold
setScorer(Scorer) - Method in class org.apache.lucene.facet.search.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.
setSortBy(FacetRequest.SortBy) - Method in class org.apache.lucene.facet.search.params.FacetRequest
 
setSortOrder(FacetRequest.SortOrder) - Method in class org.apache.lucene.facet.search.params.FacetRequest
 
setSubResults(List<FacetResultNode>) - Method in class org.apache.lucene.facet.search.results.MutableFacetResultNode
Set the sub results.
setValue(double) - Method in interface org.apache.lucene.facet.search.results.FacetResultNode
Expert: Set a new value for this result node.
setValue(double) - Method in class org.apache.lucene.facet.search.results.MutableFacetResultNode
Set the value of this result.
shouldAdd(int) - Method in class org.apache.lucene.facet.index.categorypolicy.NonTopLevelOrdinalPolicy
Filters out ordinal which are ROOT or who's parent is ROOT.
shouldAdd(CategoryPath) - Method in class org.apache.lucene.facet.index.categorypolicy.NonTopLevelPathPolicy
Filters out (returns false) CategoryPaths equal or less than TaxonomyReader.ROOT_ORDINAL.
shouldAdd(int) - Method in interface org.apache.lucene.facet.index.categorypolicy.OrdinalPolicy
Check whether a given category ordinal should be added to the stream.
shouldAdd(CategoryPath) - Method in interface org.apache.lucene.facet.index.categorypolicy.PathPolicy
Check whether a given category path should be added to the stream.
shouldComplement(ScoredDocIDs) - Method in class org.apache.lucene.facet.search.StandardFacetsAccumulator
Check if it is worth to use complements
shouldSample(ScoredDocIDs) - Method in class org.apache.lucene.facet.search.sampling.Sampler
Check if this sampler would complement for the input docIds
siblings() - Method in class org.apache.lucene.facet.taxonomy.directory.ParallelTaxonomyArrays
Returns the siblings array, where siblings[i] denotes the sibling of category ordinal i.
SimpleIntDecoder - Class in org.apache.lucene.util.encoding
Decodes values encoded with SimpleIntEncoder.
SimpleIntDecoder() - Constructor for class org.apache.lucene.util.encoding.SimpleIntDecoder
 
SimpleIntEncoder - Class in org.apache.lucene.util.encoding
A simple IntEncoder, writing an integer as 4 raw bytes.
SimpleIntEncoder() - Constructor for class org.apache.lucene.util.encoding.SimpleIntEncoder
 
size() - Method in interface org.apache.lucene.facet.search.Heap
Return the amount of objects currently in the heap
size() - Method in interface org.apache.lucene.facet.search.ScoredDocIDs
Returns the number of scored documents.
size() - Method in class org.apache.lucene.facet.taxonomy.writercache.cl2o.CollisionMap
 
size() - Method in class org.apache.lucene.util.collections.ArrayHashMap
Returns number of pairs currently in the map.
size() - Method in class org.apache.lucene.util.collections.FloatToObjectMap
 
size() - Method in class org.apache.lucene.util.collections.IntArray
Return the size of the Array.
size() - Method in class org.apache.lucene.util.collections.IntHashSet
 
size() - Method in class org.apache.lucene.util.collections.IntToDoubleMap
 
size() - Method in class org.apache.lucene.util.collections.IntToFloatMap
 
size() - Method in class org.apache.lucene.util.collections.IntToIntMap
 
size() - Method in class org.apache.lucene.util.collections.IntToObjectMap
 
size() - Method in class org.apache.lucene.util.collections.ObjectToFloatMap
 
size() - Method in class org.apache.lucene.util.collections.ObjectToIntMap
 
sizeOfMap() - Method in class org.apache.lucene.facet.taxonomy.writercache.cl2o.CompactLabelToOrdinal
 
sort() - Method in class org.apache.lucene.util.collections.IntArray
Sorts the data.
SortingIntEncoder - Class in org.apache.lucene.util.encoding
An IntEncoderFilter which sorts the values to encode in ascending order before encoding them.
SortingIntEncoder(IntEncoder) - Constructor for class org.apache.lucene.util.encoding.SortingIntEncoder
Initializes with the given encoder.
StandardFacetsAccumulator - Class in org.apache.lucene.facet.search
Standard implementation for FacetsAccumulator, utilizing partitions to save on memory.
StandardFacetsAccumulator(FacetSearchParams, IndexReader, TaxonomyReader, FacetArrays) - Constructor for class org.apache.lucene.facet.search.StandardFacetsAccumulator
 
StandardFacetsAccumulator(FacetSearchParams, IndexReader, TaxonomyReader) - Constructor for class org.apache.lucene.facet.search.StandardFacetsAccumulator
 
store(File, IndexReader, TaxonomyReader, FacetIndexingParams, CategoryListCache) - Method in class org.apache.lucene.facet.search.TotalFacetCountsCache
Store the TotalFacetCounts matching input parameters into the provided outputFile, making them available for a later call to TotalFacetCountsCache.load(File, IndexReader, TaxonomyReader, FacetIndexingParams).
subpath(int) - Method in class org.apache.lucene.facet.taxonomy.CategoryPath
Returns a sub-path of this path up to length components.
sumArray - Variable in class org.apache.lucene.facet.search.aggregator.associations.AssociationFloatSumAggregator
 
sumArray - Variable in class org.apache.lucene.facet.search.aggregator.associations.AssociationIntSumAggregator
 
supportsComplements() - Method in class org.apache.lucene.facet.search.params.associations.AssociationFloatSumFacetRequest
 
supportsComplements() - Method in class org.apache.lucene.facet.search.params.associations.AssociationIntSumFacetRequest
 
supportsComplements() - Method in class org.apache.lucene.facet.search.params.CountFacetRequest
 
supportsComplements() - Method in class org.apache.lucene.facet.search.params.FacetRequest
Indicates whether this facet request is eligible for applying the complements optimization.
supportsComplements() - Method in class org.apache.lucene.facet.search.params.ScoreFacetRequest
 

T

taxonomyReader - Variable in class org.apache.lucene.facet.search.FacetResultsHandler
Taxonomy for which facets are handled
taxonomyReader - Variable in class org.apache.lucene.facet.search.FacetsAccumulator
 
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
 
taxonomyWriter - Variable in class org.apache.lucene.facet.index.FacetFields
 
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).
term(FacetSearchParams, CategoryPath) - Static method in class org.apache.lucene.facet.search.DrillDown
 
term(FacetIndexingParams, CategoryPath) - Static method in class org.apache.lucene.facet.search.DrillDown
Return a drill-down Term for a category.
toArray() - Method in class org.apache.lucene.util.collections.ArrayHashMap
Translates the mapped pairs' values into an array of Objects
toArray(V[]) - Method in class org.apache.lucene.util.collections.ArrayHashMap
Translates the mapped pairs' values into an array of V
toArray() - Method in class org.apache.lucene.util.collections.FloatToObjectMap
Translates the mapped pairs' values into an array of Objects
toArray(T[]) - Method in class org.apache.lucene.util.collections.FloatToObjectMap
Translates the mapped pairs' values into an array of T
toArray() - Method in class org.apache.lucene.util.collections.IntHashSet
Translates the mapped pairs' values into an array of Objects
toArray(int[]) - Method in class org.apache.lucene.util.collections.IntHashSet
Translates the mapped pairs' values into an array of ints
toArray() - Method in class org.apache.lucene.util.collections.IntToDoubleMap
Translates the mapped pairs' values into an array of Objects
toArray(double[]) - Method in class org.apache.lucene.util.collections.IntToDoubleMap
Translates the mapped pairs' values into an array of T
toArray() - Method in class org.apache.lucene.util.collections.IntToFloatMap
Translates the mapped pairs' values into an array of Objects
toArray(float[]) - Method in class org.apache.lucene.util.collections.IntToFloatMap
Translates the mapped pairs' values into an array of T
toArray() - Method in class org.apache.lucene.util.collections.IntToIntMap
Translates the mapped pairs' values into an array of Objects
toArray(int[]) - Method in class org.apache.lucene.util.collections.IntToIntMap
Translates the mapped pairs' values into an array of ints
toArray() - Method in class org.apache.lucene.util.collections.IntToObjectMap
Translates the mapped pairs' values into an array of Objects
toArray(T[]) - Method in class org.apache.lucene.util.collections.IntToObjectMap
Translates the mapped pairs' values into an array of T
toArray() - Method in class org.apache.lucene.util.collections.ObjectToFloatMap
Translates the mapped pairs' values into an array of Objects
toArray(float[]) - Method in class org.apache.lucene.util.collections.ObjectToFloatMap
Translates the mapped pairs' values into an array of T
toArray() - Method in class org.apache.lucene.util.collections.ObjectToIntMap
Translates the mapped pairs' values into an array of Objects
toArray(int[]) - Method in class org.apache.lucene.util.collections.ObjectToIntMap
Translates the mapped pairs' values into an array of T
toByteArray() - Method in class org.apache.lucene.util.UnsafeByteArrayOutputStream
Returns the byte array saved within the buffer AS IS.
toHashString() - Method in class org.apache.lucene.util.collections.IntHashSet
 
toImpl(FacetResultNode) - Static method in class org.apache.lucene.facet.search.results.MutableFacetResultNode
Internal utility: turn a result node into an implementation class with richer API that allows modifying it.
top() - Method in interface org.apache.lucene.facet.search.Heap
Get (But not remove) the top of the Heap
TopKFacetResultsHandler - Class in org.apache.lucene.facet.search
Generate Top-K results for a particular FacetRequest.
TopKFacetResultsHandler(TaxonomyReader, FacetRequest) - Constructor for class org.apache.lucene.facet.search.TopKFacetResultsHandler
Construct top-K results handler.
TopKInEachNodeHandler - Class in org.apache.lucene.facet.search
Generates FacetResult from the count arrays aggregated for a particular FacetRequest.
TopKInEachNodeHandler(TaxonomyReader, FacetRequest) - Constructor for class org.apache.lucene.facet.search.TopKInEachNodeHandler
 
TopKInEachNodeHandler.AACO - Class in org.apache.lucene.facet.search
Maintains an array of AggregatedCategory.
TopKInEachNodeHandler.IntermediateFacetResultWithHash - Class in org.apache.lucene.facet.search
Intermediate result to hold counts from one or more partitions processed thus far.
TopKInEachNodeHandler.IntermediateFacetResultWithHash(FacetRequest, IntToObjectMap<TopKInEachNodeHandler.AACO>) - Constructor for class org.apache.lucene.facet.search.TopKInEachNodeHandler.IntermediateFacetResultWithHash
 
toString() - Method in class org.apache.lucene.facet.associations.CategoryAssociationsContainer
 
toString() - Method in class org.apache.lucene.facet.associations.CategoryFloatAssociation
 
toString() - Method in class org.apache.lucene.facet.associations.CategoryIntAssociation
 
toString() - Method in class org.apache.lucene.facet.search.params.FacetRequest
 
toString() - Method in class org.apache.lucene.facet.search.params.FacetSearchParams
 
toString(String) - Method in class org.apache.lucene.facet.search.results.FacetResult
String representation of this facet result.
toString() - Method in class org.apache.lucene.facet.search.results.FacetResult
 
toString(String) - Method in interface org.apache.lucene.facet.search.results.FacetResultNode
String representation of this facet result node.
toString() - Method in class org.apache.lucene.facet.search.results.MutableFacetResultNode
 
toString(String) - Method in class org.apache.lucene.facet.search.results.MutableFacetResultNode
 
toString() - Method in class org.apache.lucene.facet.taxonomy.CategoryPath
Returns a string representation of the path, separating components with '/'.
toString(char) - Method in class org.apache.lucene.facet.taxonomy.CategoryPath
Returns a string representation of the path, separating components with the given delimiter.
toString(int) - Method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyReader
 
toString() - Method in class org.apache.lucene.util.collections.ArrayHashMap
 
toString() - Method in class org.apache.lucene.util.collections.FloatToObjectMap
 
toString() - Method in class org.apache.lucene.util.collections.IntArray
toString or not toString.
toString() - Method in class org.apache.lucene.util.collections.IntHashSet
I have no idea why would anyone call it - but for debug purposes.
Prints the entire map, including the index, key, object, next and prev.
toString() - Method in class org.apache.lucene.util.collections.IntToDoubleMap
 
toString() - Method in class org.apache.lucene.util.collections.IntToFloatMap
 
toString() - Method in class org.apache.lucene.util.collections.IntToIntMap
 
toString() - Method in class org.apache.lucene.util.collections.IntToObjectMap
 
toString() - Method in class org.apache.lucene.util.collections.ObjectToFloatMap
 
toString() - Method in class org.apache.lucene.util.collections.ObjectToIntMap
 
toString() - Method in class org.apache.lucene.util.encoding.DGapIntDecoder
 
toString() - Method in class org.apache.lucene.util.encoding.DGapIntEncoder
 
toString() - Method in class org.apache.lucene.util.encoding.EightFlagsIntDecoder
 
toString() - Method in class org.apache.lucene.util.encoding.EightFlagsIntEncoder
 
toString() - Method in class org.apache.lucene.util.encoding.FourFlagsIntDecoder
 
toString() - Method in class org.apache.lucene.util.encoding.FourFlagsIntEncoder
 
toString() - Method in class org.apache.lucene.util.encoding.NOnesIntDecoder
 
toString() - Method in class org.apache.lucene.util.encoding.NOnesIntEncoder
 
toString() - Method in class org.apache.lucene.util.encoding.SimpleIntDecoder
 
toString() - Method in class org.apache.lucene.util.encoding.SimpleIntEncoder
 
toString() - Method in class org.apache.lucene.util.encoding.SortingIntEncoder
 
toString() - Method in class org.apache.lucene.util.encoding.UniqueValuesIntEncoder
 
toString() - Method in class org.apache.lucene.util.encoding.VInt8IntDecoder
 
toString() - Method in class org.apache.lucene.util.encoding.VInt8IntEncoder
 
TotalFacetCounts - Class in org.apache.lucene.facet.search
Maintain Total Facet Counts per partition, for given parameters: Index reader of an index Taxonomy index reader Facet indexing params (and particularly the category list params) The total facet counts are maintained as an array of arrays of integers, where a separate array is kept for each partition.
TotalFacetCountsCache - Class in org.apache.lucene.facet.search
Manage an LRU cache for TotalFacetCounts per index, taxonomy, and facet indexing params.
trimResult(FacetResult) - Method in class org.apache.lucene.facet.search.sampling.Sampler
Trim the input facet result.
Note: It is only valid to call this method with result obtained for a facet request created through Sampler.overSampledSearchParams(FacetSearchParams).
trimSubResults(int) - Method in class org.apache.lucene.facet.search.results.MutableFacetResultNode
Trim sub results to a given size.

U

UniqueValuesIntEncoder - Class in org.apache.lucene.util.encoding
An IntEncoderFilter which ensures only unique values are encoded.
UniqueValuesIntEncoder(IntEncoder) - Constructor for class org.apache.lucene.util.encoding.UniqueValuesIntEncoder
Constructs a new instance with the given encoder.
unlock(Directory) - Static method in class org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter
Forcibly unlocks the taxonomy in the named directory.
UnsafeByteArrayInputStream - Class in org.apache.lucene.util
This class, much like ByteArrayInputStream uses a given buffer as a source of an InputStream.
UnsafeByteArrayInputStream() - Constructor for class org.apache.lucene.util.UnsafeByteArrayInputStream
Creates a new instance by not using any byte[] up front.
UnsafeByteArrayInputStream(byte[]) - Constructor for class org.apache.lucene.util.UnsafeByteArrayInputStream
Creates an UnsafeByteArrayInputStream which uses a given byte array as the source of the stream.
UnsafeByteArrayInputStream(byte[], int, int) - Constructor for class org.apache.lucene.util.UnsafeByteArrayInputStream
Creates an UnsafeByteArrayInputStream which uses a given byte array as the source of the stream, at the specific range: [startPos, endPos)
UnsafeByteArrayOutputStream - Class in org.apache.lucene.util
This class is used as a wrapper to a byte array, extending OutputStream.
UnsafeByteArrayOutputStream() - Constructor for class org.apache.lucene.util.UnsafeByteArrayOutputStream
Constructs a new output stream, with a default allocated buffer which can later be obtained via UnsafeByteArrayOutputStream.toByteArray().
UnsafeByteArrayOutputStream(byte[]) - Constructor for class org.apache.lucene.util.UnsafeByteArrayOutputStream
Constructs a new output stream, with a given buffer.
UnsafeByteArrayOutputStream(byte[], int) - Constructor for class org.apache.lucene.util.UnsafeByteArrayOutputStream
Constructs a new output stream, with a given buffer.

V

validate() - Method in class org.apache.lucene.facet.search.sampling.SamplingParams
Check validity of sampling settings, making sure that minSampleSize <= maxSampleSize <= samplingThreshold 0 < samplingRatio <= 1
valueOf(String) - Static method in enum org.apache.lucene.facet.search.params.FacetRequest.ResultMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.lucene.facet.search.params.FacetRequest.SortBy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.lucene.facet.search.params.FacetRequest.SortOrder
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.lucene.facet.taxonomy.writercache.lru.LruTaxonomyWriterCache.LRUType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.lucene.facet.search.params.FacetRequest.ResultMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.lucene.facet.search.params.FacetRequest.SortBy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.lucene.facet.search.params.FacetRequest.SortOrder
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.lucene.facet.taxonomy.writercache.lru.LruTaxonomyWriterCache.LRUType
Returns an array containing the constants of this enum type, in the order they are declared.
VInt8IntDecoder - Class in org.apache.lucene.util.encoding
Decodes values encoded by VInt8IntEncoder.
VInt8IntDecoder() - Constructor for class org.apache.lucene.util.encoding.VInt8IntDecoder
 
VInt8IntEncoder - Class in org.apache.lucene.util.encoding
An IntEncoder which implements variable length encoding.
VInt8IntEncoder() - Constructor for class org.apache.lucene.util.encoding.VInt8IntEncoder
 

W

write(int) - Method in class org.apache.lucene.util.UnsafeByteArrayOutputStream
writes a given byte(at the form of an int) to the buffer.
write(byte[], int, int) - Method in class org.apache.lucene.util.UnsafeByteArrayOutputStream
writes a given byte[], with offset and length to the buffer.
A B C D E F G H I K L M N O P Q R S T U V W 

Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.