jruby/docs BETA
org.apache.lucene.util 142
I Accountable
C Accountables
C Allocator
C Allocator
C AlreadySetException
C ArrayUtil
I Attribute
C AttributeFactory
C AttributeImpl
I AttributeReflector
C AttributeSource
C BitDocIdSet
C BitSet
C BitSetIterator
C BitUtil
I Bits
C BufferSize
C Builder
C Builder
C Builder
I BulkAdder
I ByteArrayComparator
C ByteBlockPool
C ByteSequencesReader
C ByteSequencesWriter
C BytesRef
C BytesRefArray
C BytesRefBlockPool
C BytesRefBuilder
C BytesRefComparator
C BytesRefHash
I BytesRefIterator
C BytesStartArray
C CharsRef
C CharsRefBuilder
I ClassLoaderUtils
C ClasspathResourceLoader
C CloseableThreadLocal
C CollectionUtil
C CommandLineUtil
C Constants
C Counter
C DenseLiveDocs
C DirectAllocator
C DirectAllocator
C DirectBytesStartArray
C DirectTrackingAllocator
C DocBaseBitSetIterator
C DocIdSetBuilder
C FileDeleter
C FilterIterator
C FixedBitSet
C FixedLengthBytesRefArray
I FloatToFloatFunction
C FrequencyTrackingRingBuffer
C GroupVIntUtil
I IOBooleanSupplier
I IOConsumer
I IOFunction
I IORunnable
I IOSupplier
C IOUtils
A IgnoreRandomChains
C InPlaceMergeSorter
I IndexedBytesRefIterator
C InfoStream
C IntBlockPool
I IntReader
C IntroSelector
C IntroSorter
C IntsRef
C IntsRefBuilder
C JavaLoggingInfoStream
C LSBRadixSorter
I LiveDocs
C LongBitSet
C LongHeap
C LongValues
C LongsRef
C MSBRadixSorter
C MapOfSets
C MatchAllBits
C MatchNoBits
C MathUtil
C MaxBytesLengthExceededException
C MergedIterator
C ModuleResourceLoader
E MsgType
I NamedSPI
C NamedSPILoader
C NamedThreadFactory
C NotDocIdSet
C NumericUtils
C OfflineSorter
C PagedBytes
C PagedBytesDataInput
C PagedBytesDataOutput
C PrintStreamInfoStream
C PriorityQueue
C QueryBuilder
C RadixSelector
C RamUsageEstimator
C Reader
C RecyclingByteBlockAllocator
C RecyclingIntBlockAllocator
C RefCount
C RefCount
I Resettable
I ResourceLoader
I ResourceLoaderAware
C RoaringDocIdSet
C RollingBuffer
C SameThreadExecutorService
C Selector
C SentinelIntSet
C SetOnce
C SloppyMath
C SmallFloat
C SortInfo
C SortState
C Sorter
C SparseFixedBitSet
C SparseLiveDocs
C StableMSBRadixSorter
C State
C StaticImplementationAttributeFactory
C StringHelper
C StringSorter
A SuppressForbidden
R TermAndBoost
R TermAndVector
C TernaryLongHeap
C ThreadInterruptedException
C TimSorter
C ToStringUtils
C UTF8CodePoint
C UnicodeUtil
I Unwrappable
C VectorUtil
C Version
C VirtualMethod
C WeakIdentityMap
Builder — members 2
M build() DenseLiveDocs
M with_deleted_count(deleted_count) Builder

org.apache.lucene.util.Builder

class final 2 members

Builder for creating DenseLiveDocs instances with optional pre-computed deleted count.

Instance Methods

build

DenseLiveDocs build ( )
Java: build()

Builds the DenseLiveDocs instance.

Returns: a new DenseLiveDocs instance

Throws

IllegalArgumentException if deletedCount is outside valid range [0, maxDoc]

with_deleted_count

DenseLiveDocs.Builder with_deleted_count ( int deleted_count )
Java: withDeletedCount(int deletedCount)

Sets the pre-computed deleted document count, avoiding cardinality computation.

nametypedescription
deleted_countintthe number of deleted documents

Returns: this builder

this work for additional information regarding copyright ownership.