Package | Description |
---|---|
org.apache.lucene.codecs |
Codecs API: API for customization of the encoding and structure of the index.
|
org.apache.lucene.codecs.lucene50 |
Components from the Lucene 5.0 index format
See
org.apache.lucene.codecs.lucene80 for an overview
of the index format. |
org.apache.lucene.codecs.lucene60 |
Components from the Lucene 6.0 index format.
|
org.apache.lucene.index |
Code to maintain and access indices.
|
org.apache.lucene.store |
Binary i/o API, used for all index data.
|
org.apache.lucene.util |
Some utility classes.
|
org.apache.lucene.util.bkd |
Block KD-tree, implementing the generic spatial data structure described in
this paper.
|
org.apache.lucene.util.packed |
Packed integer arrays and streams.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
PostingsWriterBase.init(IndexOutput termsOut,
SegmentWriteState state)
Called once after startup, before any terms have been
added.
|
static void |
CodecUtil.writeFooter(IndexOutput out)
Writes a codec footer, which records both a checksum
algorithm ID and a checksum.
|
long |
MultiLevelSkipListWriter.writeSkip(IndexOutput output)
Writes the buffered skip lists to the given output.
|
protected abstract void |
MultiLevelSkipListWriter.writeSkipData(int level,
IndexOutput skipBuffer)
Subclasses must implement the actual skip data encoding in this method.
|
Modifier and Type | Method and Description |
---|---|
void |
Lucene50PostingsWriter.init(IndexOutput termsOut,
SegmentWriteState state) |
Modifier and Type | Field and Description |
---|---|
protected IndexOutput |
Lucene60PointsWriter.dataOut
Output used to write the BKD tree data file
|
Modifier and Type | Method and Description |
---|---|
void |
SegmentInfos.write(Directory directory,
IndexOutput out)
Write ourselves to the provided
IndexOutput |
Modifier and Type | Class and Description |
---|---|
class |
ByteBuffersIndexOutput
An
IndexOutput writing to a ByteBuffersDataOutput . |
class |
OutputStreamIndexOutput
Implementation class for buffered
IndexOutput that writes to an OutputStream . |
class |
RAMOutputStream
Deprecated.
This class uses inefficient synchronization and is discouraged
in favor of
MMapDirectory . It will be removed in future versions
of Lucene. |
class |
RateLimitedIndexOutput
|
Modifier and Type | Method and Description |
---|---|
IndexOutput |
LockValidatingDirectoryWrapper.createOutput(String name,
IOContext context) |
IndexOutput |
RAMDirectory.createOutput(String name,
IOContext context)
Deprecated.
|
IndexOutput |
NRTCachingDirectory.createOutput(String name,
IOContext context) |
IndexOutput |
ByteBuffersDirectory.createOutput(String name,
IOContext context) |
IndexOutput |
TrackingDirectoryWrapper.createOutput(String name,
IOContext context) |
IndexOutput |
FSDirectory.createOutput(String name,
IOContext context) |
IndexOutput |
FileSwitchDirectory.createOutput(String name,
IOContext context) |
abstract IndexOutput |
Directory.createOutput(String name,
IOContext context)
Creates a new, empty file in the directory and returns an
IndexOutput
instance for appending data to this file. |
IndexOutput |
FilterDirectory.createOutput(String name,
IOContext context) |
IndexOutput |
RAMDirectory.createTempOutput(String prefix,
String suffix,
IOContext context)
Deprecated.
|
IndexOutput |
NRTCachingDirectory.createTempOutput(String prefix,
String suffix,
IOContext context) |
IndexOutput |
ByteBuffersDirectory.createTempOutput(String prefix,
String suffix,
IOContext context) |
IndexOutput |
TrackingDirectoryWrapper.createTempOutput(String prefix,
String suffix,
IOContext context) |
IndexOutput |
FSDirectory.createTempOutput(String prefix,
String suffix,
IOContext context) |
IndexOutput |
FileSwitchDirectory.createTempOutput(String prefix,
String suffix,
IOContext context) |
abstract IndexOutput |
Directory.createTempOutput(String prefix,
String suffix,
IOContext context)
Creates a new, empty, temporary file in the directory and returns an
IndexOutput
instance for appending data to this file. |
IndexOutput |
FilterDirectory.createTempOutput(String prefix,
String suffix,
IOContext context) |
Modifier and Type | Method and Description |
---|---|
protected int |
BufferedIndexInput.flushBuffer(IndexOutput out,
long numBytes)
Flushes the in-memory buffer to the given output, copying at most
numBytes . |
Constructor and Description |
---|
RateLimitedIndexOutput(RateLimiter rateLimiter,
IndexOutput delegate) |
Modifier and Type | Field and Description |
---|---|
protected IndexOutput |
OfflineSorter.ByteSequencesWriter.out |
Modifier and Type | Method and Description |
---|---|
protected OfflineSorter.ByteSequencesWriter |
OfflineSorter.getWriter(IndexOutput out,
long itemCount)
Subclasses can override to change how byte sequences are written to disk.
|
Constructor and Description |
---|
ByteSequencesWriter(IndexOutput out)
Constructs a ByteSequencesWriter to the provided DataOutput
|
Modifier and Type | Field and Description |
---|---|
IndexOutput |
OfflinePointWriter.out |
Modifier and Type | Method and Description |
---|---|
long |
BKDWriter.finish(IndexOutput out)
Writes the BKD tree to the provided
IndexOutput and returns the file offset where index was written. |
long |
BKDWriter.merge(IndexOutput out,
List<MergeState.DocMap> docMaps,
List<BKDReader> readers)
More efficient bulk-add for incoming
BKDReader s. |
long |
BKDWriter.writeField(IndexOutput out,
String fieldName,
MutablePointValues reader)
Write a field from a
MutablePointValues . |
Modifier and Type | Method and Description |
---|---|
static DirectMonotonicWriter |
DirectMonotonicWriter.getInstance(IndexOutput metaOut,
IndexOutput dataOut,
long numValues,
int blockShift)
Returns an instance suitable for encoding
numValues into monotonic
blocks of 2blockShift values. |
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.