Uses of Package
org.apache.lucene.util
Packages that use org.apache.lucene.util
Package
Description
Text analysis.
Fast, general-purpose grammar-based tokenizer
StandardTokenizer
implements the Word Break rules from the
Unicode Text Segmentation algorithm, as specified in Unicode Standard Annex #29.General-purpose attributes for text analysis.
Codecs API: API for customization of the encoding and structure of the index.
Compressing helper classes.
HNSW vector helper classes.
Lucene 10.1 file format.
Lucene 10.2 file format.
Lucene 9.0 file format.
BlockTree terms dictionary.
Lucene 9.0 compressing format.
Lucene 9.5 file format.
Lucene 9.9 file format.
Postings format that can delegate to different formats per-field.
The logical representation of a
Document
for indexing and
searching.Code to maintain and access indices.
Internal copy of a subset of classes from the HPPC library.
Code to search indices.
Comparators, used to compare hits so as to determine their sort order when collecting the top
results with
TopFieldCollector
.Binary i/o API, used for all index data.
Some utility classes.
Finite-state automaton for regular expressions.
Block KD-tree, implementing the generic spatial data structure described in this paper.
Finite state transducers
Utility classes for working with token streams as graphs.
Navigable Small-World graph, nominally Hierarchical but currently only has a single layer.
Comparable object wrappers
Packed integer arrays and streams.
Provides quantization methods for scaling vector values to smaller data types and possibly fewer
dimensions
-
Classes in org.apache.lucene.util used by org.apache.lucene.analysisClassDescriptionAn AttributeFactory creates instances of
AttributeImpl
s.An AttributeSource contains a list of differentAttributeImpl
s, and methods to add and get them.Represents byte[], as a slice (offset + length) into an existing byte[].Annotation to not test a class or constructor withTestRandomChains
integration test.Abstraction for loading resources (streams, files, and classes).An object with this interface is a wrapper around another object (e.g., a filter with a delegate).Use by certain classes to match version compatibility across releases of Lucene. -
Classes in org.apache.lucene.util used by org.apache.lucene.analysis.standardClassDescriptionAn AttributeFactory creates instances of
AttributeImpl
s.An AttributeSource contains a list of differentAttributeImpl
s, and methods to add and get them. -
Classes in org.apache.lucene.util used by org.apache.lucene.analysis.tokenattributesClassDescriptionBase interface for attributes.Base class for Attributes that can be added to a
AttributeSource
.This interface is used to reflect contents ofAttributeSource
orAttributeImpl
.Represents byte[], as a slice (offset + length) into an existing byte[].A builder forBytesRef
instances. -
Classes in org.apache.lucene.util used by org.apache.lucene.codecsClassDescriptionAn object whose RAM usage can be computed.Interface for Bitset-like structures.Represents byte[], as a slice (offset + length) into an existing byte[].BitSet of fixed length (numBits), backed by accessible (
FixedBitSet.getBits()
) long[], accessed with an int index, implementingBits
andDocIdSet
.Interface to supportNamedSPILoader.lookup(String)
by name. -
Classes in org.apache.lucene.util used by org.apache.lucene.codecs.compressing
-
Classes in org.apache.lucene.util used by org.apache.lucene.codecs.hnswClassDescriptionAn object whose RAM usage can be computed.Interface for Bitset-like structures.Interface to support
NamedSPILoader.lookup(String)
by name. -
Classes in org.apache.lucene.util used by org.apache.lucene.codecs.lucene101ClassDescriptionRepresents byte[], as a slice (offset + length) into an existing byte[].Interface to support
NamedSPILoader.lookup(String)
by name. -
Classes in org.apache.lucene.util used by org.apache.lucene.codecs.lucene102ClassDescriptionAn object whose RAM usage can be computed.Interface to support
NamedSPILoader.lookup(String)
by name. -
Classes in org.apache.lucene.util used by org.apache.lucene.codecs.lucene90ClassDescriptionInterface for Bitset-like structures.Interface to support
NamedSPILoader.lookup(String)
by name. -
Classes in org.apache.lucene.util used by org.apache.lucene.codecs.lucene90.blocktree
-
Classes in org.apache.lucene.util used by org.apache.lucene.codecs.lucene90.compressingClassDescriptionAn object whose RAM usage can be computed.Represents byte[], as a slice (offset + length) into an existing byte[].
-
Classes in org.apache.lucene.util used by org.apache.lucene.codecs.lucene95
-
Classes in org.apache.lucene.util used by org.apache.lucene.codecs.lucene99ClassDescriptionAn object whose RAM usage can be computed.Interface for Bitset-like structures.Interface to support
NamedSPILoader.lookup(String)
by name. -
Classes in org.apache.lucene.util used by org.apache.lucene.codecs.perfieldClassDescriptionInterface for Bitset-like structures.Interface to support
NamedSPILoader.lookup(String)
by name. -
Classes in org.apache.lucene.util used by org.apache.lucene.documentClassDescriptionComparator for a fixed number of bytes.Represents byte[], as a slice (offset + length) into an existing byte[].
-
Classes in org.apache.lucene.util used by org.apache.lucene.indexClassDescriptionAn object whose RAM usage can be computed.An AttributeSource contains a list of different
AttributeImpl
s, and methods to add and get them.Interface for Bitset-like structures.Represents byte[], as a slice (offset + length) into an existing byte[].A builder forBytesRef
instances.A simple iterator interface forBytesRef
iteration.BitSet of fixed length (numBits), backed by accessible (FixedBitSet.getBits()
) long[], accessed with an int index, implementingBits
andDocIdSet
.Debugging API for Lucene classes such asIndexWriter
andSegmentInfos
.Represents int[], as a slice (offset + length) into an existing int[].Boolean supplier that is allowed to throw an IOException.This is a result supplier that is allowed to throw an IOException.Abstraction over an array of longs.Interface to supportNamedSPILoader.lookup(String)
by name.Annotation to suppress forbidden-apis errors inside a whole class, a method, or a field.An object with this interface is a wrapper around another object (e.g., a filter with a delegate).Use by certain classes to match version compatibility across releases of Lucene. -
Classes in org.apache.lucene.util used by org.apache.lucene.internal.hppc
-
Classes in org.apache.lucene.util used by org.apache.lucene.searchClassDescriptionAn object whose RAM usage can be computed.Base interface for attributes.Base class for Attributes that can be added to a
AttributeSource
.This interface is used to reflect contents ofAttributeSource
orAttributeImpl
.An AttributeSource contains a list of differentAttributeImpl
s, and methods to add and get them.Interface for Bitset-like structures.Represents byte[], as a slice (offset + length) into an existing byte[].A simple iterator interface forBytesRef
iteration.BitSet of fixed length (numBits), backed by accessible (FixedBitSet.getBits()
) long[], accessed with an int index, implementingBits
andDocIdSet
.Boolean supplier that is allowed to throw an IOException.This is a result supplier that is allowed to throw an IOException.Interface to supportNamedSPILoader.lookup(String)
by name.A priority queue maintains a partial ordering of its elements such that the least element can always be found in constant time.An object with this interface is a wrapper around another object (e.g., a filter with a delegate). -
Classes in org.apache.lucene.util used by org.apache.lucene.search.comparators
-
Classes in org.apache.lucene.util used by org.apache.lucene.storeClassDescriptionAn object whose RAM usage can be computed.Annotation to suppress forbidden-apis errors inside a whole class, a method, or a field.
-
Classes in org.apache.lucene.util used by org.apache.lucene.utilClassDescriptionAn object whose RAM usage can be computed.Comparator for a fixed number of bytes.Base interface for attributes.An AttributeFactory creates instances of
AttributeImpl
s.Base class for Attributes that can be added to aAttributeSource
.This interface is used to reflect contents ofAttributeSource
orAttributeImpl
.An AttributeSource contains a list of differentAttributeImpl
s, and methods to add and get them.This class holds the state of an AttributeSource.Interface for Bitset-like structures.Base implementation for a bit set.This class enables the allocation of fixed-size buffers and their management as part of a buffer array.Abstract class for allocating and freeing byte blocks.Represents byte[], as a slice (offset + length) into an existing byte[].An extension ofBytesRefIterator
that allows retrieving the index of the current elementUsed to iterate the elements of an array in a given order.A builder forBytesRef
instances.SpecializedBytesRef
comparator thatStringSorter
has optimizations for.Manages allocation of the per-term addresses.A simple iterator interface forBytesRef
iteration.Represents char[], as a slice (offset + length) into an existing char[].A builder forCharsRef
instances.Simple counter classUtility class to efficiently add many docs in one go.Types of messages this file deleter will broadcast REF: messages about reference FILE: messages about fileBitSet of fixed length (numBits), backed by accessible (FixedBitSet.getBits()
) long[], accessed with an int index, implementingBits
andDocIdSet
.Provides an abstraction for read int values, so that decoding logic can be reused in different DataInput.Debugging API for Lucene classes such asIndexWriter
andSegmentInfos
.Abstract class for allocating and freeing int blocks.Represents int[], as a slice (offset + length) into an existing int[].An IO operation with a single input that may throw an IOException.BitSet of fixed length (numBits), backed by accessible (LongBitSet.getBits()
) long[], accessed with a long index.A min heap that stores longs; a primitive priority queue that like all priority queues maintains a partial ordering of its elements such that the least element can always be found in constant time.Represents long[], as a slice (offset + length) into an existing long[].Abstraction over an array of longs.Radix sorter for variable-length strings.Interface to supportNamedSPILoader.lookup(String)
by name.A bit more descriptive unit for constructors.Utility class to read length-prefixed byte[] entries from an input.Utility class to emit length-prefixed byte[] entries to an output stream for sorting.Input that transparently iterates over pagesOutput that transparently spills to new pages as necessaryProvides methods to read BytesRefs from a frozen PagedBytes.Wraps a term and boostAbstraction for loading resources (streams, files, and classes).DocIdSet
implementation inspired from http://roaringbitmap.org/A builder ofRoaringDocIdSet
s.Implement to reset an instanceAn implementation of a selection algorithm, ie.Base class for sorting algorithms implementations.A bit set that only stores longs that have at least one bit which is set.Annotation to suppress forbidden-apis errors inside a whole class, a method, or a field.Word2Vec unit composed by a term with the associated vectorHolds a codepoint along with the number of bytes required to represent it in UTF8Use by certain classes to match version compatibility across releases of Lucene.A utility for keeping backwards compatibility on previously abstract methods (or similar replacements).Implements a combination ofWeakHashMap
andIdentityHashMap
. -
Classes in org.apache.lucene.util used by org.apache.lucene.util.automaton
-
Classes in org.apache.lucene.util used by org.apache.lucene.util.bkdClassDescriptionRepresents byte[], as a slice (offset + length) into an existing byte[].BitSet of fixed length (numBits), backed by accessible (
FixedBitSet.getBits()
) long[], accessed with an int index, implementingBits
andDocIdSet
.A Runnable that may throw an IOException -
Classes in org.apache.lucene.util used by org.apache.lucene.util.fstClassDescriptionAn object whose RAM usage can be computed.Represents byte[], as a slice (offset + length) into an existing byte[].A builder for
BytesRef
instances.Represents char[], as a slice (offset + length) into an existing char[].Represents int[], as a slice (offset + length) into an existing int[].A builder forIntsRef
instances. -
Classes in org.apache.lucene.util used by org.apache.lucene.util.graphClassDescriptionAn AttributeSource contains a list of different
AttributeImpl
s, and methods to add and get them. -
Classes in org.apache.lucene.util used by org.apache.lucene.util.hnswClassDescriptionAn object whose RAM usage can be computed.Interface for Bitset-like structures.Base implementation for a bit set.Debugging API for Lucene classes such as
IndexWriter
andSegmentInfos
. -
Classes in org.apache.lucene.util used by org.apache.lucene.util.mutable
-
Classes in org.apache.lucene.util used by org.apache.lucene.util.packedClassDescriptionAn object whose RAM usage can be computed.Represents long[], as a slice (offset + length) into an existing long[].Abstraction over an array of longs.
-
Classes in org.apache.lucene.util used by org.apache.lucene.util.quantization