Uses of Interface
org.apache.lucene.util.Accountable
Packages that use Accountable
Package
Description
Codecs API: API for customization of the encoding and structure of the index.
Pluggable term index / block terms dictionary implementations.
BlockTree terms dictionary.
Same postings format as Lucene50, except the terms dictionary also
supports ords, i.e.
Codec PostingsFormat for fast access to low-frequency terms
such as primary key fields.
StoredFieldsFormat that allows cross-document and cross-field compression of stored fields.
A primary-key postings format that associates a version (long) with each term and
can provide fail-fast lookups by ID and version.
Components from the Lucene 5.0 index format
See
org.apache.lucene.codecs.lucene80 for an overview
of the index format.Components from the Lucene 6.0 index format.
Components from the Lucene 7.0 index format.
Components from the Lucene 8.0 index format
See
org.apache.lucene.codecs.lucene84 for an overview
of the index format.Components from the Lucene 8.4 index format.
Lucene 8.6 file format.
Term dictionary, DocValues or Postings formats that are read
entirely into memory.
Postings format that can delegate to different formats per-field.
Simpletext Codec: writes human readable postings.
Pluggable term index / block terms dictionary implementations.
Pluggable term index / block terms dictionary implementations.
Code to maintain and access indices.
Code to search indices.
Support for index-time and query-time joins.
Support for Autocomplete/Autosuggest
Analyzer based autosuggest.
Support for document suggestion
Finite-state based autosuggest.
JaSpell-based autosuggest.
Ternary Search Tree based autosuggest.
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
Classes in org.apache.lucene.codecs that implement AccountableModifier and TypeClassDescriptionclassAbstract API that produces numeric, binary, sorted, sortedset, and sortednumeric docvalues.classAbstract API that produces terms, doc, freq, prox, offset and payloads postings.classAbstract API that produces field normalization valuesclassAbstract API to visit point values.classThe core terms dictionaries (BlockTermsReader, BlockTreeTermsReader) interact with a single instance of this class to manage creation ofPostingsEnumandPostingsEnuminstances.classCodec API for reading stored fields.classCodec API for writing stored fields: For every document,StoredFieldsWriter.startDocument()is called, informing the Codec that a new document has started.classCodec API for reading term vectors:classCodec 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.blockterms
Classes in org.apache.lucene.codecs.blockterms that implement AccountableModifier and TypeClassDescriptionclassHandles a terms dict, but decouples all details of doc/freqs/positions reading to an instance ofPostingsReaderBase.private classclassTermsIndexReader for simple every Nth terms indexes.private final classclassBlockTermsReaderinteracts with an instance of this class to manage its terms index.classprivate final classMethods in org.apache.lucene.codecs.blockterms that return types with arguments of type AccountableModifier and TypeMethodDescriptionBlockTermsReader.getChildResources()FixedGapTermsIndexReader.FieldIndexData.getChildResources()FixedGapTermsIndexReader.getChildResources()VariableGapTermsIndexReader.FieldIndexData.getChildResources()VariableGapTermsIndexReader.getChildResources() -
Uses of Accountable in org.apache.lucene.codecs.blocktree
Classes in org.apache.lucene.codecs.blocktree that implement AccountableModifier and TypeClassDescriptionfinal classA block-based terms index and dictionary that assigns terms to variable length blocks according to how they share prefixes.final classBlockTree's implementation ofTerms.Methods in org.apache.lucene.codecs.blocktree that return types with arguments of type AccountableModifier and TypeMethodDescriptionBlockTreeTermsReader.getChildResources()FieldReader.getChildResources() -
Uses of Accountable in org.apache.lucene.codecs.blocktreeords
Classes in org.apache.lucene.codecs.blocktreeords that implement AccountableModifier and TypeClassDescriptionfinal class(package private) final classBlockTree's implementation ofTerms.Methods in org.apache.lucene.codecs.blocktreeords that return types with arguments of type AccountableModifier and TypeMethodDescriptionOrdsBlockTreeTermsReader.getChildResources()OrdsFieldReader.getChildResources() -
Uses of Accountable in org.apache.lucene.codecs.bloom
Classes in org.apache.lucene.codecs.bloom that implement AccountableModifier and TypeClassDescription(package private) static classclassA class used to represent a set of many, potentially large, values (e.g.Methods in org.apache.lucene.codecs.bloom that return types with arguments of type AccountableModifier and TypeMethodDescriptionBloomFilteringPostingsFormat.BloomFilteredFieldsProducer.getChildResources() -
Uses of Accountable in org.apache.lucene.codecs.compressing
Classes in org.apache.lucene.codecs.compressing that implement AccountableModifier and TypeClassDescriptionfinal classfinal classfinal classfinal class(package private) class(package private) final class(package private) final classRandom-access reader forFieldsIndexWriter.Methods in org.apache.lucene.codecs.compressing that return types with arguments of type AccountableModifier and TypeMethodDescriptionCompressingStoredFieldsReader.getChildResources()CompressingTermVectorsReader.getChildResources()CompressingTermVectorsWriter.getChildResources()LegacyFieldsIndexReader.getChildResources() -
Uses of Accountable in org.apache.lucene.codecs.idversion
Classes in org.apache.lucene.codecs.idversion that implement AccountableModifier and TypeClassDescription(package private) final classfinal class(package private) final classBlockTree's implementation ofTerms.Methods in org.apache.lucene.codecs.idversion that return types with arguments of type AccountableModifier and TypeMethodDescriptionVersionBlockTreeTermsReader.getChildResources()VersionFieldReader.getChildResources() -
Uses of Accountable in org.apache.lucene.codecs.lucene50
Classes in org.apache.lucene.codecs.lucene50 that implement AccountableModifier and TypeClassDescriptionfinal classConcrete class that reads docId(maybe frq,pos,offset,payloads) list with postings format. -
Uses of Accountable in org.apache.lucene.codecs.lucene60
Classes in org.apache.lucene.codecs.lucene60 that implement AccountableModifier and TypeClassDescriptionclassReads point values previously written with Lucene60PointsWriter -
Uses of Accountable in org.apache.lucene.codecs.lucene70
Classes in org.apache.lucene.codecs.lucene70 that implement AccountableModifier and TypeClassDescription(package private) final classreader forLucene70DocValuesFormat(package private) final classReader forLucene70NormsFormat -
Uses of Accountable in org.apache.lucene.codecs.lucene80
Classes in org.apache.lucene.codecs.lucene80 that implement AccountableModifier and TypeClassDescription(package private) final classreader forLucene80DocValuesFormat(package private) final classReader forLucene80NormsFormat -
Uses of Accountable in org.apache.lucene.codecs.lucene84
Classes in org.apache.lucene.codecs.lucene84 that implement AccountableModifier and TypeClassDescriptionfinal classConcrete class that reads docId(maybe frq,pos,offset,payloads) list with postings format. -
Uses of Accountable in org.apache.lucene.codecs.lucene86
Classes in org.apache.lucene.codecs.lucene86 that implement AccountableModifier and TypeClassDescriptionclassReads point values previously written withLucene86PointsWriter -
Uses of Accountable in org.apache.lucene.codecs.memory
Classes in org.apache.lucene.codecs.memory that implement AccountableModifier and TypeClassDescription(package private) classReader forDirectDocValuesFormat(package private) static class(package private) static class(package private) static class(package private) static class(package private) static classprivate static final classprivate static final classprivate static final classprivate static classprivate static final class(package private) static classRepresents the metadata for one term.classFST-based terms dictionary reader.(package private) final classMethods in org.apache.lucene.codecs.memory that return types with arguments of type AccountableModifier and TypeMethodDescriptionDirectDocValuesProducer.BinaryRawValues.getChildResources()DirectDocValuesProducer.getChildResources()DirectDocValuesProducer.SortedNumericRawValues.getChildResources()DirectDocValuesProducer.SortedRawValues.getChildResources()DirectDocValuesProducer.SortedSetRawValues.getChildResources()DirectPostingsFormat.DirectFields.getChildResources()FSTTermsReader.getChildResources()FSTTermsReader.TermsReader.getChildResources() -
Uses of Accountable in org.apache.lucene.codecs.perfield
Classes in org.apache.lucene.codecs.perfield that implement AccountableModifier and TypeClassDescriptionprivate classprivate static classprivate static classMethods in org.apache.lucene.codecs.perfield that return types with arguments of type AccountableModifier and TypeMethodDescriptionPerFieldDocValuesFormat.FieldsReader.getChildResources()PerFieldPostingsFormat.FieldsReader.getChildResources() -
Uses of Accountable in org.apache.lucene.codecs.simpletext
Classes in org.apache.lucene.codecs.simpletext that implement AccountableModifier and TypeClassDescription(package private) final classForked fromBKDReaderand simplified/specialized for SimpleText's usage(package private) class(package private) classprivate classstatic classReads plain-text norms.(package private) classclassreads plaintext stored fieldsclassWrites plain-text stored fields.classReads plain-text term vectors.classWrites plain-text term vectors.Methods in org.apache.lucene.codecs.simpletext that return types with arguments of type AccountableModifier and TypeMethodDescriptionSimpleTextFieldsReader.getChildResources()SimpleTextFieldsReader.SimpleTextTerms.getChildResources()SimpleTextNormsFormat.SimpleTextNormsProducer.getChildResources() -
Uses of Accountable in org.apache.lucene.codecs.uniformsplit
Subinterfaces of Accountable in org.apache.lucene.codecs.uniformsplitModifier and TypeInterfaceDescriptioninterfaceImmutable stateless index dictionary kept in RAM.static interfaceSupplier for a new statefulIndexDictionary.Browsercreated on the immutableIndexDictionary.Classes in org.apache.lucene.codecs.uniformsplit that implement AccountableModifier and TypeClassDescriptionclassBlock header containing block metadata.classOne term block line.static classReads/writes block lines with terms encoded incrementally inside a block.classSeeks the block corresponding to a given term, read the block bytes, and scans the block terms.classTermStateserializer which encodes each file pointer as a delta relative to a base file pointer.classMetadata and stats for one field in the index.classImmutable statelessFST-based index dictionary kept in memory.static classProvides statefulFSTDictionary.Browserto seek in theFSTDictionary.classThe "intersect"TermsEnumresponse toUniformSplitTerms.intersect(CompiledAutomaton, BytesRef), intersecting the terms with an automaton.classTerm of a block line.classTermsbased on the Uniform Split technique.classA block-based terms index and dictionary based on the Uniform Split technique. -
Uses of Accountable in org.apache.lucene.index
Classes in org.apache.lucene.index that implement AccountableModifier and TypeClassDescription(package private) final classADocValuesFieldUpdateswhich holds updates of documents, of a singleBinaryDocValuesField.(package private) classHolds buffered deletes and updates, by docID, term or query for a single segment.(package private) final classTracks the stream ofFrozenBufferedUpdates.classLeafReader implemented by codec APIs.(package private) final classDefault general purpose indexing chain, which handles indexing all types of fields.(package private) class(package private) final classAccumulator for documents that have a value for a field.(package private) final classThis class accepts multiple added documents and directly writes segment files.(package private) final classDocumentsWriterDeleteQueueis a non-blocking linked pending deletes queue.(package private) final classThis class controlsDocumentsWriterPerThreadflushing during indexing.(package private) final class(package private) classHolds updates of a single DocValues field, for a set of documents within one segment.(package private) static classclassAbstract base class implementing aDocValuesProducerthat has no doc values.classAFilterCodecReadercontains another CodecReader, which it uses as its basic source of data, possibly transforming the data along the way or providing additional functionality.classAnIndexWritercreates and maintains an index.private static final class(package private) final classADocValuesFieldUpdateswhich holds updates of documents, of a singleNumericDocValuesField.(package private) static classclassMaps per-segment ordinals to/from global ordinal space, using a compact packed-ints representation.private static classprivate static classclassPrefix codes term instances (prefixes are shared).(package private) classEncapsulates multiple producers when there are docvalues updates as one producerfinal classIndexReader implementation over a single segment.(package private) static final classfinal classAnCodecReaderwhich supports sorting documents by a givenSort.final classA Term represents a word from text.Fields in org.apache.lucene.index declared as AccountableModifier and TypeFieldDescription(package private) AccountableStoredFieldsConsumer.accountable(package private) AccountableTermVectorsConsumer.accountableMethods in org.apache.lucene.index that return types with arguments of type AccountableModifier and TypeMethodDescriptionCodecReader.getChildResources()DefaultIndexingChain.getChildResources()DocumentsWriterPerThread.getChildResources()FilterCodecReader.getChildResources()OrdinalMap.getChildResources()SegmentDocValuesProducer.getChildResources() -
Uses of Accountable in org.apache.lucene.search
Classes in org.apache.lucene.search that implement AccountableModifier and TypeClassDescriptionclassAQuerythat will match terms against a finite-state machine.final classAQuerythat treats multiple fields as a single stream and scores terms as if you had indexed them as a single term in a single field.final classAQuerythat allows to have a configurable number or required matches per document.classA DocIdSet contains a set of doc ids.classLikeDocValuesTermsQuery, but this query only runs on a longNumericDocValuesFieldor aSortedNumericDocValuesField, matching all documents whose value in the specified field is contained in the provided set of long values.classAQuerythat only accepts documents whose term value in the specified field is contained in the provided set of allowed terms.(package private) final classclassAQueryCachethat evicts queries using a LRU (least-recently-used) eviction policy in order to remain under a given maximum size and number of bytes used.private classclassAbstract query class to find all documents whose single or multi-dimensional point values, previously indexed with e.g.classA Query that matches documents containing terms with a specified prefix.classA fast regular expression query based on theorg.apache.lucene.util.automatonpackage.classA proximity query that lets you express an automaton, whose transitions are terms, to match documents.(package private) static classclassSpecialization for a disjunction over many terms that behaves like aConstantScoreQueryover aBooleanQuerycontaining onlyBooleanClause.Occur.SHOULDclauses.classA Query that matches documents within an range of terms.classImplements the wildcard search query.Methods in org.apache.lucene.search that return types with arguments of type AccountableModifier and TypeMethodDescriptionLRUQueryCache.getChildResources()TermInSetQuery.getChildResources() -
Uses of Accountable in org.apache.lucene.search.join
Classes in org.apache.lucene.search.join that implement AccountableModifier and TypeClassDescription(package private) final class(package private) final class(package private) class(package private) class(package private) classA query that has an array of terms from a specific field. -
Uses of Accountable in org.apache.lucene.search.suggest
Classes in org.apache.lucene.search.suggest that implement Accountable -
Uses of Accountable in org.apache.lucene.search.suggest.analyzing
Classes in org.apache.lucene.search.suggest.analyzing that implement AccountableModifier and TypeClassDescriptionclassAnalyzes the input text and then suggests matches based on prefix matches to any tokens in the indexed text.classSuggester that first analyzes the surface form, adds the analyzed form to a weighted FST, and then does the same thing at lookup time.classExtension of the AnalyzingInfixSuggester which transforms the weight after search to take into account the position of the searched term into the indexed text.classBuilds an ngram model from the text sent toFreeTextSuggester.build(org.apache.lucene.search.suggest.InputIterator)and predicts based on the last grams-1 tokens in the request sent toFreeTextSuggester.lookup(java.lang.CharSequence, boolean, int).final classImplements a fuzzyAnalyzingSuggester.Methods in org.apache.lucene.search.suggest.analyzing that return types with arguments of type AccountableModifier and TypeMethodDescriptionAnalyzingInfixSuggester.getChildResources()AnalyzingSuggester.getChildResources()FreeTextSuggester.getChildResources() -
Uses of Accountable in org.apache.lucene.search.suggest.document
Classes in org.apache.lucene.search.suggest.document that implement AccountableModifier and TypeClassDescription(package private) final classCompletion index (.cmp) is opened and read at instantiation to read inSuggestFieldnumbers and their FST offsets in the Completion dictionary (.lkp).final classHolder for suggester and field-level info for a suggest fieldclassACompletionQuerythat matches documents specified by a wrappedCompletionQuerysupporting boosting and/or filtering by specified contexts.final classNRTSuggester executes Top N search on a weighted FST specified by aCompletionScorerMethods in org.apache.lucene.search.suggest.document that return types with arguments of type AccountableModifier and TypeMethodDescriptionCompletionFieldsProducer.getChildResources()CompletionsTermsReader.getChildResources()NRTSuggester.getChildResources() -
Uses of Accountable in org.apache.lucene.search.suggest.fst
Classes in org.apache.lucene.search.suggest.fst that implement AccountableModifier and TypeClassDescriptionclassAn adapter fromLookupAPI toFSTCompletion.classSuggester based on a weighted FST: it first traverses the prefix, then walks the n shortest paths to retrieve top-ranked suggestions.Methods in org.apache.lucene.search.suggest.fst that return types with arguments of type AccountableModifier and TypeMethodDescriptionFSTCompletionLookup.getChildResources()WFSTCompletionLookup.getChildResources() -
Uses of Accountable in org.apache.lucene.search.suggest.jaspell
Classes in org.apache.lucene.search.suggest.jaspell that implement AccountableModifier and TypeClassDescriptionclassDeprecated.Migrate to one of the newer suggesters which are much more RAM efficient.classDeprecated.Migrate to one of the newer suggesters which are much more RAM efficient.protected static final classDeprecated.An inner class of Ternary Search Trie that represents a node in the trie. -
Uses of Accountable in org.apache.lucene.search.suggest.tst
Classes in org.apache.lucene.search.suggest.tst that implement Accountable -
Uses of Accountable in org.apache.lucene.store
Classes in org.apache.lucene.store that implement AccountableModifier and TypeClassDescriptionfinal classfinal classADataOutputstoring data in a list ofByteBuffers.final classADataOutputthat can be used to build a byte[].classWraps aRAMDirectoryaround any provided delegate directory, to be used during NRT search.classDeprecated.This class uses inefficient synchronization and is discouraged in favor ofMMapDirectory.classDeprecated.This class uses inefficient synchronization and is discouraged in favor ofMMapDirectory.classDeprecated.This class uses inefficient synchronization and is discouraged in favor ofMMapDirectory.Methods in org.apache.lucene.store that return types with arguments of type AccountableModifier and TypeMethodDescriptionNRTCachingDirectory.getChildResources()RAMDirectory.getChildResources()Deprecated.RAMOutputStream.getChildResources()Deprecated. -
Uses of Accountable in org.apache.lucene.util
Classes in org.apache.lucene.util that implement AccountableModifier and TypeClassDescriptionclassclassBase implementation for a bit set.final classClass that Posting and PostingVector use to write byte streams into shared fixed-size byte[] arrays.static final classUsed to iterate the elements of an array in a given order.final classBytesRefHashis a special purpose hash-map like data-structure optimized forBytesRefinstances.final classBitSet of fixed length (numBits), backed by accessible (FixedBitSet.getBits()) long[], accessed with an int index, implementingBitsandDocIdSet.final classA ring buffer that tracks the frequency of the integers that it contains.private static classA bag of integers.(package private) final classfinal classBitSet of fixed length (numBits), backed by accessible (LongBitSet.getBits()) long[], accessed with a long index.final classfinal classRepresents a logical byte[] as a series of pages.static final classProvides methods to read BytesRefs from a frozen PagedBytes.classDocIdSetimplementation inspired from http://roaringbitmap.org/ The space is divided into blocks of 2^16 bits and each block is encoded independently.private static classDocIdSetimplementation that can store documents up to 2^16-1 in a short[].classA bit set that only stores longs that have at least one bit which is set.Fields in org.apache.lucene.util declared as AccountableModifier and TypeFieldDescriptionstatic final AccountableAccountable.NULL_ACCOUNTABLEAn accountable that always returns 0Methods in org.apache.lucene.util that return AccountableModifier and TypeMethodDescriptionstatic AccountableAccountables.namedAccountable(String description, long bytes) Returns an accountable with the provided description and bytes.static AccountableAccountables.namedAccountable(String description, Collection<Accountable> children, long bytes) Returns an accountable with the provided description, children and bytes.static AccountableAccountables.namedAccountable(String description, Accountable in) Augments an existing accountable with the provided description.Methods in org.apache.lucene.util that return types with arguments of type AccountableModifier 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.Methods in org.apache.lucene.util with parameters of type AccountableModifier and TypeMethodDescriptionstatic AccountableAccountables.namedAccountable(String description, Accountable in) Augments an existing accountable with the provided description.static longRamUsageEstimator.sizeOf(Accountable accountable) Returns the size in bytes of theAccountableobject, using itsramBytesUsed()method.static longRamUsageEstimator.sizeOf(Accountable[] accountables) Return the size of the provided array ofAccountables by summing up the shallow size of the array and thememory usagereported by eachAccountable.private static StringBuilderAccountables.toString(StringBuilder dest, Accountable a, int depth) static StringAccountables.toString(Accountable a) Returns a String description of an Accountable and any nested resources.Method parameters in org.apache.lucene.util with type arguments of type AccountableModifier and TypeMethodDescriptionstatic AccountableAccountables.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
Classes in org.apache.lucene.util.automaton that implement AccountableModifier and TypeClassDescriptionclassRepresents an automaton and all its states and transitions.classAutomaton representation for matching UTF-8 byte[].classAutomaton representation for matching char[].classImmutable class holding compiled details for a given Automaton.classFinite-state automaton with fast run operation. -
Uses of Accountable in org.apache.lucene.util.fst
Subinterfaces of Accountable in org.apache.lucene.util.fstModifier and TypeInterfaceDescriptioninterfaceAbstraction for reading/writing bytes necessary for FST.Classes in org.apache.lucene.util.fst that implement AccountableModifier and TypeClassDescription(package private) classfinal classFST<T>Represents an finite state machine (FST), using a compact byte[] format.final classProvides off heap storage of finite state machine (FST), using underlying index input instead of byte store on heapfinal classProvides storage of finite state machine (FST), using byte array or byte store allocated on heap. -
Uses of Accountable in org.apache.lucene.util.packed
Classes in org.apache.lucene.util.packed that implement AccountableModifier and TypeClassDescriptionclassAbstractPagedMutable<T extends AbstractPagedMutable<T>>Base implementation forPagedMutableandPagedGrowableWriter.final classProvides random access to a stream written withBlockPackedWriter.(package private) class(package private) static class(package private) final classDirect wrapping of 16-bits values to a backing array.(package private) final classDirect wrapping of 32-bits values to a backing array.(package private) final classDirect wrapping of 64-bits values to a backing array.(package private) final classDirect wrapping of 8-bits values to a backing array.final classRetrieves an instance previously written byDirectMonotonicWriter.static classIn-memory metadata that needs to be kept around forDirectMonotonicReaderto read data from disk.(package private) final class(package private) classclassImplementsPackedInts.Mutable, but grows the bit count of the underlying packed ints on-demand.classProvides random access to a stream written withMonotonicBlockPackedWriter.(package private) class(package private) static class(package private) final classPacks integers into 3 shorts (48 bits per value).(package private) classSpace optimized random access capable array of values with a fixed number of bits/value.(package private) classThis class is similar toPacked64except that it trades space for speed by ensuring that a single block needs to be read/written in order to read/write a value.(package private) static class(package private) static class(package private) static class(package private) static class(package private) static class(package private) static class(package private) static class(package private) static class(package private) static class(package private) static class(package private) static class(package private) static class(package private) static class(package private) static class(package private) final classPacks integers into 3 bytes (24 bits per value).static classA packed integer array that can be modified.(package private) static classstatic final classAPackedInts.Readerwhich has all its values equal to 0 (bitsPerValue = 0).static classA read-only random access array of positive integers.(package private) static classA simple base for Readers that keeps track of valueCount and bitsPerValue.classUtility class to compress integers into aLongValuesinstance.static classA Builder for aPackedLongValuesinstance.final classfinal classAPagedMutable.