Package | Description |
---|---|
org.apache.lucene.codecs |
Codecs API: API for customization of the encoding and structure of the index.
|
org.apache.lucene.codecs.blockterms |
Pluggable term index / block terms dictionary implementations.
|
org.apache.lucene.codecs.intblock |
Intblock: base support for fixed or variable length block integer encoders
|
org.apache.lucene.codecs.lucene41 |
Lucene 4.1 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 |
Misc Directory implementations.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
PostingsWriterBase.init(IndexOutput termsOut)
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.
|
protected void |
BlockTreeTermsWriter.writeHeader(IndexOutput out)
Writes the terms file header.
|
protected void |
BlockTreeTermsWriter.writeIndexHeader(IndexOutput out)
Writes the index file header.
|
protected void |
BlockTreeTermsWriter.writeIndexTrailer(IndexOutput indexOut,
long dirStart)
Writes the index file trailer.
|
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.
|
protected void |
BlockTreeTermsWriter.writeTrailer(IndexOutput out,
long dirStart)
Writes the terms file trailer.
|
Modifier and Type | Field and Description |
---|---|
protected IndexOutput |
BlockTermsWriter.out |
protected IndexOutput |
FixedGapTermsIndexWriter.out |
protected IndexOutput |
VariableGapTermsIndexWriter.out |
Modifier and Type | Field and Description |
---|---|
protected IndexOutput |
VariableIntBlockIndexOutput.out |
protected IndexOutput |
FixedIntBlockIndexOutput.out |
Constructor and Description |
---|
FixedIntBlockIndexOutput(IndexOutput out,
int fixedBlockSize) |
VariableIntBlockIndexOutput(IndexOutput out,
int maxBlockSize)
NOTE: maxBlockSize must be the maximum block size
plus the max non-causal lookahead of your codec.
|
Modifier and Type | Method and Description |
---|---|
void |
Lucene41PostingsWriter.init(IndexOutput termsOut) |
Modifier and Type | Method and Description |
---|---|
void |
PulsingPostingsWriter.init(IndexOutput termsOut) |
Modifier and Type | Method and Description |
---|---|
void |
SepPostingsWriter.init(IndexOutput termsOut) |
Modifier and Type | Class and Description |
---|---|
class |
BufferedIndexOutput
Base implementation class for buffered
IndexOutput . |
protected static class |
FSDirectory.FSIndexOutput
Writes output with
RandomAccessFile.write(byte[], int, int) |
class |
RAMOutputStream
A memory-resident
IndexOutput implementation. |
Modifier and Type | Method and Description |
---|---|
IndexOutput |
NativeUnixDirectory.createOutput(String name,
IOContext context) |
IndexOutput |
NRTCachingDirectory.createOutput(String name,
IOContext context) |
IndexOutput |
FilterDirectory.createOutput(String name,
IOContext context) |
IndexOutput |
FileSwitchDirectory.createOutput(String name,
IOContext context) |
IndexOutput |
RateLimitedDirectoryWrapper.createOutput(String name,
IOContext context) |
IndexOutput |
CompoundFileDirectory.createOutput(String name,
IOContext context) |
IndexOutput |
TrackingDirectoryWrapper.createOutput(String name,
IOContext context) |
IndexOutput |
RAMDirectory.createOutput(String name,
IOContext context)
Creates a new, empty file in the directory with the given name.
|
abstract IndexOutput |
Directory.createOutput(String name,
IOContext context)
Creates a new, empty file in the directory with the given name.
|
IndexOutput |
FSDirectory.createOutput(String name,
IOContext context)
Creates an IndexOutput for the file with the given name.
|
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 . |
Copyright © 2000-2015 The Apache Software Foundation. All Rights Reserved.