Package | Description |
---|---|
org.apache.lucene.index |
Code to maintain and access indices.
|
org.apache.lucene.index.memory |
High-performance single-document main memory Apache Lucene fulltext search index.
|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.util |
Some utility classes.
|
Modifier and Type | Field and Description |
---|---|
(package private) Counter |
DefaultIndexingChain.bytesUsed |
private Counter |
FieldUpdatesBuffer.bytesUsed |
private Counter |
TermsHashPerField.bytesUsed |
private Counter |
TermsHashPerField.PostingsBytesStartArray.bytesUsed |
(package private) Counter |
TermsHash.bytesUsed |
(package private) Counter |
DocumentsWriterPerThread.bytesUsed |
private Counter |
DocumentsWriterPerThread.IntBlockAllocator.bytesUsed |
private Counter |
BufferedUpdates.bytesUsed |
(package private) Counter |
BufferedUpdates.fieldUpdatesBytesUsed |
private Counter |
SortedNumericDocValuesWriter.iwBytesUsed |
private Counter |
NumericDocValuesWriter.iwBytesUsed |
private Counter |
SortedDocValuesWriter.iwBytesUsed |
private Counter |
SortedSetDocValuesWriter.iwBytesUsed |
private Counter |
PointValuesWriter.iwBytesUsed |
private Counter |
NormValuesWriter.iwBytesUsed |
private Counter |
BinaryDocValuesWriter.iwBytesUsed |
Modifier and Type | Method and Description |
---|---|
Counter |
TermsHashPerField.PostingsBytesStartArray.bytesUsed() |
Modifier and Type | Method and Description |
---|---|
private void |
IndexWriter.countSoftDeletes(CodecReader reader,
Bits wrappedLiveDocs,
Bits hardLiveDocs,
Counter softDeleteCounter,
Counter hardDeleteCounter) |
Constructor and Description |
---|
BinaryDocValuesWriter(FieldInfo fieldInfo,
Counter iwBytesUsed) |
FieldUpdatesBuffer(Counter bytesUsed,
DocValuesUpdate.BinaryDocValuesUpdate initialValue,
int docUpTo) |
FieldUpdatesBuffer(Counter bytesUsed,
DocValuesUpdate.NumericDocValuesUpdate initialValue,
int docUpTo) |
FieldUpdatesBuffer(Counter bytesUsed,
DocValuesUpdate initialValue,
int docUpTo,
boolean isNumeric) |
IntBlockAllocator(Counter bytesUsed) |
NormValuesWriter(FieldInfo fieldInfo,
Counter iwBytesUsed) |
NumericDocValuesWriter(FieldInfo fieldInfo,
Counter iwBytesUsed) |
PostingsBytesStartArray(TermsHashPerField perField,
Counter bytesUsed) |
SortedDocValuesWriter(FieldInfo fieldInfo,
Counter iwBytesUsed) |
SortedNumericDocValuesWriter(FieldInfo fieldInfo,
Counter iwBytesUsed) |
SortedSetDocValuesWriter(FieldInfo fieldInfo,
Counter iwBytesUsed) |
Modifier and Type | Field and Description |
---|---|
private Counter |
MemoryIndex.bytesUsed |
Modifier and Type | Field and Description |
---|---|
private Counter |
TimeLimitingCollector.clock |
(package private) Counter |
TimeLimitingCollector.TimerThread.counter |
Modifier and Type | Method and Description |
---|---|
static Counter |
TimeLimitingCollector.getGlobalCounter()
Returns the global TimerThreads
Counter |
Constructor and Description |
---|
TimeLimitingCollector(Collector collector,
Counter clock,
long ticksAllowed)
Create a TimeLimitedCollector wrapper over another
Collector with a specified timeout. |
TimerThread(Counter counter) |
TimerThread(long resolution,
Counter counter) |
Modifier and Type | Class and Description |
---|---|
private static class |
Counter.AtomicCounter |
private static class |
Counter.SerialCounter |
Modifier and Type | Field and Description |
---|---|
private Counter |
RecyclingByteBlockAllocator.bytesUsed |
private Counter |
BytesRefHash.bytesUsed |
private Counter |
BytesRefHash.DirectBytesStartArray.bytesUsed |
private Counter |
ByteBlockPool.DirectTrackingAllocator.bytesUsed |
private Counter |
BytesRefArray.bytesUsed |
private Counter |
RecyclingIntBlockAllocator.bytesUsed |
Modifier and Type | Method and Description |
---|---|
abstract Counter |
BytesRefHash.BytesStartArray.bytesUsed()
A
Counter reference holding the number of bytes used by this
BytesRefHash.BytesStartArray . |
Counter |
BytesRefHash.DirectBytesStartArray.bytesUsed() |
static Counter |
Counter.newCounter()
Returns a new counter.
|
static Counter |
Counter.newCounter(boolean threadSafe)
Returns a new counter.
|
Constructor and Description |
---|
BytesRefArray(Counter bytesUsed)
Creates a new
BytesRefArray with a counter to track allocated bytes |
DirectBytesStartArray(int initSize,
Counter counter) |
DirectTrackingAllocator(Counter bytesUsed) |
DirectTrackingAllocator(int blockSize,
Counter bytesUsed) |
RecyclingByteBlockAllocator(int blockSize,
int maxBufferedBlocks,
Counter bytesUsed)
Creates a new
RecyclingByteBlockAllocator |
RecyclingIntBlockAllocator(int blockSize,
int maxBufferedBlocks,
Counter bytesUsed)
Creates a new
RecyclingIntBlockAllocator |