Package | Description |
---|---|
org.apache.lucene.codecs |
Codecs for testing (simulate old disk formats, wacky theoretical use cases, etc)
|
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.lucene3x |
Support for generating test indexes in the Lucene 3.x index format.
|
org.apache.lucene.codecs.lucene40 |
Support for testing
Lucene40PostingsFormat . |
org.apache.lucene.codecs.lucene41 |
Support for testing
Lucene41Codec . |
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.
|
org.apache.lucene.util |
General test support.
|
org.apache.lucene.util.packed |
Packed integer arrays and streams.
|
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.
|
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 | Field and Description |
---|---|
protected IndexOutput |
VariableGapTermsIndexWriter.out |
protected IndexOutput |
BlockTermsWriter.out |
protected IndexOutput |
FixedGapTermsIndexWriter.out |
Modifier and Type | Field and Description |
---|---|
protected IndexOutput |
FixedIntBlockIndexOutput.out |
protected IndexOutput |
VariableIntBlockIndexOutput.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 |
---|---|
protected void |
PreFlexRWSkipListWriter.writeSkipData(int level,
IndexOutput skipBuffer) |
Constructor and Description |
---|
PreFlexRWSkipListWriter(int skipInterval,
int numberOfSkipLevels,
int docCount,
IndexOutput freqOutput,
IndexOutput proxOutput) |
Modifier and Type | Method and Description |
---|---|
void |
Lucene40PostingsWriter.init(IndexOutput termsOut) |
protected void |
Lucene40SkipListWriter.writeSkipData(int level,
IndexOutput skipBuffer)
Deprecated.
|
Constructor and Description |
---|
Lucene40SkipListWriter(int skipInterval,
int numberOfSkipLevels,
int docCount,
IndexOutput freqOutput,
IndexOutput proxOutput)
Deprecated.
Sole constructor.
|
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 |
MockIndexOutputWrapper
Used by MockRAMDirectory to create an output stream that
will throw an IOException on fake disk full, track max
disk space actually used, and maybe throw random
IOExceptions.
|
class |
OutputStreamIndexOutput
Implementation class for buffered
IndexOutput that writes to an OutputStream . |
class |
RAMOutputStream
A memory-resident
IndexOutput implementation. |
Modifier and Type | Method and Description |
---|---|
IndexOutput |
NativeUnixDirectory.createOutput(String name,
IOContext context) |
IndexOutput |
MockDirectoryWrapper.createOutput(String name,
IOContext context) |
IndexOutput |
FilterDirectory.createOutput(String name,
IOContext context) |
IndexOutput |
FileSwitchDirectory.createOutput(String name,
IOContext context) |
IndexOutput |
NRTCachingDirectory.createOutput(String name,
IOContext context) |
IndexOutput |
FSDirectory.createOutput(String name,
IOContext context)
Creates an IndexOutput for the file with the given name.
|
IndexOutput |
RAMDirectory.createOutput(String name,
IOContext context)
Creates a new, empty file in the directory with the given name.
|
IndexOutput |
CompoundFileDirectory.createOutput(String name,
IOContext context) |
abstract IndexOutput |
Directory.createOutput(String name,
IOContext context)
Creates a new, empty file in the directory with the given name.
|
IndexOutput |
RateLimitedDirectoryWrapper.createOutput(String name,
IOContext context) |
IndexOutput |
TrackingDirectoryWrapper.createOutput(String name,
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 . |
void |
MockDirectoryWrapper.removeIndexOutput(IndexOutput out,
String name) |
Constructor and Description |
---|
MockIndexOutputWrapper(MockDirectoryWrapper dir,
IndexOutput delegate,
String name)
Construct an empty output buffer.
|
Modifier and Type | Class and Description |
---|---|
class |
ThrottledIndexOutput
Intentionally slow IndexOutput for testing.
|
Modifier and Type | Method and Description |
---|---|
ThrottledIndexOutput |
ThrottledIndexOutput.newFromDelegate(IndexOutput output) |
Constructor and Description |
---|
ThrottledIndexOutput(int bytesPerSecond,
long delayInMillis,
IndexOutput delegate) |
ThrottledIndexOutput(int bytesPerSecond,
long delays,
int minBytesWritten,
IndexOutput delegate) |
ThrottledIndexOutput(int bytesPerSecond,
long flushDelayMillis,
long closeDelayMillis,
long seekDelayMillis,
long minBytesWritten,
IndexOutput delegate) |
Modifier and Type | Method and Description |
---|---|
static DirectWriter |
DirectWriter.getInstance(IndexOutput output,
long numValues,
int bitsPerValue)
Returns an instance suitable for encoding
numValues using bitsPerValue |
Copyright © 2000–2017 The Apache Software Foundation. All rights reserved.