| Package | Description |
|---|---|
| org.apache.lucene.codecs |
Codecs API: API for customization of the encoding and structure of the index.
|
| org.apache.lucene.codecs.appending |
Codec for on append-only outputs, such as plain output streams and append-only filesystems.
|
| org.apache.lucene.codecs.intblock |
Intblock: base support for fixed or variable length block integer encoders
|
| org.apache.lucene.codecs.lucene3x |
Codec to support Lucene 3.x indexes (readonly)
|
| org.apache.lucene.codecs.lucene40 |
Lucene 4.0 file format.
|
| org.apache.lucene.codecs.pulsing |
Pulsing Codec: inlines low frequency terms' postings into terms dictionary.
|
| org.apache.lucene.codecs.sep |
Sep: base support for separate files (doc,frq,pos,skp,pyl)
|
| org.apache.lucene.store |
Binary i/o API, used for all index data.
|
| org.apache.lucene.util |
Some utility classes.
|
| org.apache.lucene.util.packed |
Packed integer arrays and streams.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
PostingsReaderBase.init(IndexInput termsIn) |
abstract DocValuesArraySource |
DocValuesArraySource.newFromInput(IndexInput input,
int numDocs) |
protected void |
BlockTreeTermsReader.readHeader(IndexInput input) |
protected void |
VariableGapTermsIndexReader.readHeader(IndexInput input) |
protected void |
FixedGapTermsIndexReader.readHeader(IndexInput input) |
protected void |
BlockTermsReader.readHeader(IndexInput input) |
protected void |
BlockTreeTermsReader.readIndexHeader(IndexInput input) |
protected abstract int |
MultiLevelSkipListReader.readSkipData(int level,
IndexInput skipStream)
Subclasses must implement the actual skip data encoding in this method.
|
abstract void |
PostingsReaderBase.readTermsBlock(IndexInput termsIn,
FieldInfo fieldInfo,
BlockTermState termState)
Reads data for all terms in the next block; this
method should merely load the byte[] blob but not
decode, which is done in
PostingsReaderBase.nextTerm(org.apache.lucene.index.FieldInfo, org.apache.lucene.codecs.BlockTermState). |
protected void |
BlockTreeTermsReader.seekDir(IndexInput input,
long dirOffset) |
protected void |
VariableGapTermsIndexReader.seekDir(IndexInput input,
long dirOffset) |
protected void |
FixedGapTermsIndexReader.seekDir(IndexInput input,
long dirOffset) |
protected void |
BlockTermsReader.seekDir(IndexInput input,
long dirOffset) |
| Constructor and Description |
|---|
MultiLevelSkipListReader(IndexInput skipStream,
int maxSkipLevels,
int skipInterval) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AppendingTermsReader.readHeader(IndexInput input) |
protected void |
AppendingTermsReader.readIndexHeader(IndexInput input) |
protected void |
AppendingTermsReader.seekDir(IndexInput input,
long dirOffset) |
| Modifier and Type | Field and Description |
|---|---|
protected IndexInput |
VariableIntBlockIndexInput.in |
| Modifier and Type | Method and Description |
|---|---|
protected abstract FixedIntBlockIndexInput.BlockReader |
FixedIntBlockIndexInput.getBlockReader(IndexInput in,
int[] buffer) |
protected abstract VariableIntBlockIndexInput.BlockReader |
VariableIntBlockIndexInput.getBlockReader(IndexInput in,
int[] buffer) |
| Constructor and Description |
|---|
FixedIntBlockIndexInput(IndexInput in) |
VariableIntBlockIndexInput(IndexInput in) |
| Modifier and Type | Method and Description |
|---|---|
static void |
Lucene3xSegmentInfoReader.readLegacyInfos(SegmentInfos infos,
Directory directory,
IndexInput input,
int format)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
IndexInput |
Lucene40StoredFieldsReader.rawDocs(int[] lengths,
int startDocID,
int numDocs)
Returns the length in bytes of each raw document in a
contiguous range of length numDocs starting with
startDocID.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Lucene40StoredFieldsWriter.addRawDocuments(IndexInput stream,
int[] lengths,
int numDocs)
Bulk write a contiguous series of documents.
|
void |
Lucene40PostingsReader.init(IndexInput termsIn) |
protected int |
Lucene40SkipListReader.readSkipData(int level,
IndexInput skipStream) |
void |
Lucene40PostingsReader.readTermsBlock(IndexInput termsIn,
FieldInfo fieldInfo,
BlockTermState _termState) |
| Constructor and Description |
|---|
Lucene40SkipListReader(IndexInput skipStream,
int maxSkipLevels,
int skipInterval) |
| Modifier and Type | Method and Description |
|---|---|
void |
PulsingPostingsReader.init(IndexInput termsIn) |
void |
PulsingPostingsReader.readTermsBlock(IndexInput termsIn,
FieldInfo fieldInfo,
BlockTermState _termState) |
| Modifier and Type | Method and Description |
|---|---|
void |
SepPostingsReader.init(IndexInput termsIn) |
void |
SepPostingsReader.readTermsBlock(IndexInput termsIn,
FieldInfo fieldInfo,
BlockTermState _termState) |
| Modifier and Type | Class and Description |
|---|---|
class |
BufferedIndexInput
Base implementation class for buffered
IndexInput. |
class |
ChecksumIndexInput
Writes bytes through to a primary IndexOutput, computing
checksum as it goes.
|
protected static class |
NIOFSDirectory.NIOFSIndexInput |
class |
RAMInputStream
A memory-resident
IndexInput implementation. |
protected static class |
SimpleFSDirectory.SimpleFSIndexInput |
| Modifier and Type | Method and Description |
|---|---|
abstract IndexInput |
Directory.IndexInputSlicer.openFullSlice()
Returns an
IndexInput slice starting at offset 0 with a
length equal to the length of the underlying file |
abstract IndexInput |
Directory.openInput(String name,
IOContext context)
Returns a stream reading an existing file, with the
specified read buffer size.
|
IndexInput |
SimpleFSDirectory.openInput(String name,
IOContext context)
Creates an IndexInput for the file with the given name.
|
IndexInput |
MMapDirectory.openInput(String name,
IOContext context)
Creates an IndexInput for the file with the given name.
|
IndexInput |
NIOFSDirectory.openInput(String name,
IOContext context)
Creates an IndexInput for the file with the given name.
|
IndexInput |
NRTCachingDirectory.openInput(String name,
IOContext context) |
IndexInput |
FileSwitchDirectory.openInput(String name,
IOContext context) |
IndexInput |
CompoundFileDirectory.openInput(String name,
IOContext context) |
IndexInput |
RAMDirectory.openInput(String name,
IOContext context)
Returns a stream reading an existing file.
|
IndexInput |
TrackingDirectoryWrapper.openInput(String name,
IOContext context) |
abstract IndexInput |
Directory.IndexInputSlicer.openSlice(String sliceDescription,
long offset,
long length)
Returns an
IndexInput slice starting at the given offset with the given length. |
| Constructor and Description |
|---|
ChecksumIndexInput(IndexInput main) |
| Modifier and Type | Method and Description |
|---|---|
void |
PagedBytes.copy(IndexInput in,
long byteCount)
Read this many bytes from in
|
| Modifier and Type | Method and Description |
|---|---|
static PackedInts.Reader |
PackedInts.getDirectReader(IndexInput in)
Construct a direct
PackedInts.Reader from an IndexInput. |
static PackedInts.Reader |
PackedInts.getDirectReaderNoHeader(IndexInput in,
PackedInts.Format format,
int version,
int valueCount,
int bitsPerValue)
Expert: Construct a direct
PackedInts.Reader from a stream without reading
metadata at the beginning of the stream. |
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.