Package | Description |
---|---|
org.apache.lucene.codecs.lucene40.values |
Default DocValues implementation for Lucene 4.0 indexes.
|
org.apache.lucene.index |
Code to maintain and access indices.
|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.util |
Some utility classes.
|
Modifier and Type | Method and Description |
---|---|
static DocValuesConsumer |
Bytes.getWriter(Directory dir,
String id,
Bytes.Mode mode,
boolean fixedSize,
Comparator<BytesRef> sortComparator,
Counter bytesUsed,
IOContext context,
float acceptableOverheadRatio)
Creates a new byte[]
Writer instances for the given
directory. |
static DocValuesConsumer |
Ints.getWriter(Directory dir,
String id,
Counter bytesUsed,
DocValues.Type type,
IOContext context)
Creates and returns a
DocValuesConsumer to
write int values. |
static DocValuesConsumer |
Floats.getWriter(Directory dir,
String id,
Counter bytesUsed,
IOContext context,
DocValues.Type type)
Creates and returns a
DocValuesConsumer to
write float values. |
Modifier and Type | Field and Description |
---|---|
Counter |
PerDocWriteState.bytesUsed
Number of bytes allocated in RAM to hold this state.
|
Constructor and Description |
---|
PerDocWriteState(InfoStream infoStream,
Directory directory,
SegmentInfo segmentInfo,
Counter bytesUsed,
String segmentSuffix,
IOContext context)
Creates a
PerDocWriteState . |
Modifier and Type | Method and Description |
---|---|
static Counter |
TimeLimitingCollector.getGlobalCounter()
Returns the global TimerThreads
Counter |
Constructor and Description |
---|
TimeLimitingCollector.TimerThread(Counter counter) |
TimeLimitingCollector.TimerThread(long resolution,
Counter counter) |
TimeLimitingCollector(Collector collector,
Counter clock,
long ticksAllowed)
Create a TimeLimitedCollector wrapper over another
Collector with a specified timeout. |
Modifier and Type | Field and Description |
---|---|
protected Counter |
BytesRefHash.TrackingDirectBytesStartArray.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.TrackingDirectBytesStartArray.bytesUsed() |
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 |
---|
ByteBlockPool.DirectTrackingAllocator(Counter bytesUsed) |
ByteBlockPool.DirectTrackingAllocator(int blockSize,
Counter bytesUsed) |
BytesRefHash.TrackingDirectBytesStartArray(int initSize,
Counter bytesUsed) |
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.