Uses of Interface
org.apache.lucene.util.Accountable
Package
Description
Codecs API: API for customization of the encoding and structure of the index.
Lucene 9.0 compressing format.
Lucene 9.1 file format.
Postings format that can delegate to different formats per-field.
Code to maintain and access indices.
Code to search indices.
Binary i/o API, used for all index data.
Some utility classes.
Finite-state automaton for regular expressions.
Finite state transducers
Packed integer arrays and streams.
-
Uses of Accountable in org.apache.lucene.codecs
Modifier and TypeClassDescriptionclass
Reads vectors from an index.class
Codec API for writing stored fields: For every document,StoredFieldsWriter.startDocument()
is called, informing the Codec that a new document has started.class
Codec API for writing term vectors: For every document,TermVectorsWriter.startDocument(int)
is called, informing the Codec how many fields will be written. -
Uses of Accountable in org.apache.lucene.codecs.lucene90.compressing
Modifier and TypeClassDescriptionfinal class
final class
-
Uses of Accountable in org.apache.lucene.codecs.lucene91
Modifier and TypeClassDescriptionfinal class
Reads vectors from the index segments along with index data structures supporting KNN search. -
Uses of Accountable in org.apache.lucene.codecs.perfield
Modifier and TypeClassDescriptionstatic class
VectorReader that can wrap multiple delegate readers, selected by field. -
Uses of Accountable in org.apache.lucene.index
Modifier and TypeClassDescriptionfinal class
Accumulator for documents that have a value for a field.class
AnIndexWriter
creates and maintains an index.class
Maps per-segment ordinals to/from global ordinal space, using a compact packed-ints representation.class
Prefix codes term instances (prefixes are shared).final class
A Term represents a word from text. -
Uses of Accountable in org.apache.lucene.search
Modifier and TypeClassDescriptionclass
AQuery
that will match terms against a finite-state machine.class
A DocIdSet contains a set of doc ids.class
AQueryCache
that evicts queries using a LRU (least-recently-used) eviction policy in order to remain under a given maximum size and number of bytes used.protected static class
Cache of doc ids with a count.class
Abstract query class to find all documents whose single or multi-dimensional point values, previously indexed with e.g.class
A Query that matches documents containing terms with a specified prefix.class
A fast regular expression query based on theorg.apache.lucene.util.automaton
package.class
Specialization for a disjunction over many terms that behaves like aConstantScoreQuery
over aBooleanQuery
containing onlyBooleanClause.Occur.SHOULD
clauses.class
A Query that matches documents within an range of terms.class
Implements the wildcard search query.Modifier and TypeMethodDescriptionLRUQueryCache.getChildResources()
TermInSetQuery.getChildResources()
-
Uses of Accountable in org.apache.lucene.store
Modifier and TypeClassDescriptionfinal class
final class
ADataOutput
storing data in a list ofByteBuffer
s.class
Wraps a RAM-resident directory around any provided delegate directory, to be used during NRT search. -
Uses of Accountable in org.apache.lucene.util
Modifier and TypeClassDescriptionclass
class
Base implementation for a bit set.final class
Class that Posting and PostingVector use to write byte streams into shared fixed-size byte[] arrays.static final class
Used to iterate the elements of an array in a given order.final class
BytesRefHash
is a special purpose hash-map like data-structure optimized forBytesRef
instances.final class
BitSet of fixed length (numBits), backed by accessible (FixedBitSet.getBits()
) long[], accessed with an int index, implementingBits
andDocIdSet
.final class
A ring buffer that tracks the frequency of the integers that it contains.final class
BitSet of fixed length (numBits), backed by accessible (LongBitSet.getBits()
) long[], accessed with a long index.final class
final class
Represents a logical byte[] as a series of pages.static final class
Provides methods to read BytesRefs from a frozen PagedBytes.class
DocIdSet
implementation inspired from http://roaringbitmap.org/class
A bit set that only stores longs that have at least one bit which is set.Modifier and TypeFieldDescriptionstatic final Accountable
Accountable.NULL_ACCOUNTABLE
An accountable that always returns 0Modifier and TypeMethodDescriptionstatic Accountable
Accountables.namedAccountable
(String description, long bytes) Returns an accountable with the provided description and bytes.static Accountable
Accountables.namedAccountable
(String description, Collection<Accountable> children, long bytes) Returns an accountable with the provided description, children and bytes.static Accountable
Accountables.namedAccountable
(String description, Accountable in) Augments an existing accountable with the provided description.Modifier and TypeMethodDescriptiondefault Collection<Accountable>
Accountable.getChildResources()
Returns nested resources of this class.static Collection<Accountable>
Accountables.namedAccountables
(String prefix, Map<?, ? extends Accountable> in) Converts a map of resources to a collection.Modifier and TypeMethodDescriptionstatic Accountable
Accountables.namedAccountable
(String description, Accountable in) Augments an existing accountable with the provided description.static long
RamUsageEstimator.sizeOf
(Accountable accountable) Returns the size in bytes of theAccountable
object, using itsramBytesUsed()
method.static long
RamUsageEstimator.sizeOf
(Accountable[] accountables) Return the size of the provided array ofAccountable
s by summing up the shallow size of the array and thememory usage
reported by eachAccountable
.static String
Accountables.toString
(Accountable a) Returns a String description of an Accountable and any nested resources.Modifier and TypeMethodDescriptionstatic Accountable
Accountables.namedAccountable
(String description, Collection<Accountable> children, long bytes) Returns an accountable with the provided description, children and bytes.static Collection<Accountable>
Accountables.namedAccountables
(String prefix, Map<?, ? extends Accountable> in) Converts a map of resources to a collection. -
Uses of Accountable in org.apache.lucene.util.automaton
Modifier and TypeClassDescriptionclass
Represents an automaton and all its states and transitions.class
Automaton representation for matching UTF-8 byte[].class
Automaton representation for matching char[].class
Immutable class holding compiled details for a given Automaton.class
Finite-state automaton with fast run operation. -
Uses of Accountable in org.apache.lucene.util.fst
Modifier and TypeInterfaceDescriptioninterface
Abstraction for reading/writing bytes necessary for FST.Modifier and TypeClassDescriptionfinal class
FST<T>
Represents an finite state machine (FST), using a compact byte[] format.final class
Provides off heap storage of finite state machine (FST), using underlying index input instead of byte store on heapfinal class
Provides storage of finite state machine (FST), using byte array or byte store allocated on heap. -
Uses of Accountable in org.apache.lucene.util.packed
Modifier and TypeClassDescriptionclass
AbstractPagedMutable<T extends AbstractPagedMutable<T>>
Base implementation forPagedMutable
andPagedGrowableWriter
.final class
Retrieves an instance previously written byDirectMonotonicWriter
.static class
In-memory metadata that needs to be kept around forDirectMonotonicReader
to read data from disk.class
ImplementsPackedInts.Mutable
, but grows the bit count of the underlying packed ints on-demand.class
Provides random access to a stream written withMonotonicBlockPackedWriter
.static class
A packed integer array that can be modified.static final class
APackedInts.Reader
which has all its values equal to 0 (bitsPerValue = 0).static class
A read-only random access array of positive integers.class
Utility class to compress integers into aLongValues
instance.static class
A Builder for aPackedLongValues
instance.final class
final class
APagedMutable
.