Package | Description |
---|---|
org.apache.lucene.codecs |
Codecs API: API for customization of the encoding and structure of the index.
|
org.apache.lucene.codecs.bloom |
Codec PostingsFormat for fast access to low-frequency terms such as primary key fields.
|
org.apache.lucene.codecs.compressing |
StoredFieldsFormat that allows cross-document and cross-field compression of stored fields.
|
org.apache.lucene.codecs.lucene40 |
Lucene 4.0 file format.
|
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.index |
Misc index tools and index support.
|
org.apache.lucene.search.suggest |
Support for Autocomplete/Autosuggest
|
org.apache.lucene.search.suggest.analyzing |
Analyzer based autosuggest.
|
org.apache.lucene.search.suggest.fst |
Finite-state based autosuggest.
|
org.apache.lucene.search.suggest.jaspell |
JaSpell-based autosuggest.
|
org.apache.lucene.search.suggest.tst |
Ternary Search Tree based autosuggest.
|
org.apache.lucene.store |
Misc Directory implementations.
|
org.apache.lucene.util |
Some utility classes.
|
org.apache.lucene.util.fst |
Misc FST classes.
|
org.apache.lucene.util.packed |
Packed integer arrays and streams.
|
Modifier and Type | Method and Description |
---|---|
void |
TermVectorsWriter.addProx(int numProx,
DataInput positions,
DataInput offsets)
Called by IndexWriter when writing new segments.
|
static int |
CodecUtil.checkHeader(DataInput in,
String codec,
int minVersion,
int maxVersion)
Reads and validates a header previously written with
CodecUtil.writeHeader(DataOutput, String, int) . |
static int |
CodecUtil.checkHeaderNoMagic(DataInput in,
String codec,
int minVersion,
int maxVersion)
Like
CodecUtil.checkHeader(DataInput,String,int,int) except this
version assumes the first int has already been read
and validated from the input. |
abstract void |
PostingsReaderBase.decodeTerm(long[] longs,
DataInput in,
FieldInfo fieldInfo,
BlockTermState state,
boolean absolute)
Actually decode metadata for next term
|
Modifier and Type | Method and Description |
---|---|
static FuzzySet |
FuzzySet.deserialize(DataInput in) |
Modifier and Type | Method and Description |
---|---|
void |
CompressingTermVectorsWriter.addProx(int numProx,
DataInput positions,
DataInput offsets) |
abstract void |
Decompressor.decompress(DataInput in,
int originalLength,
int offset,
int length,
BytesRef bytes)
Decompress bytes that were stored between offsets
offset and
offset+length in the original stream from the compressed
stream in to bytes . |
Modifier and Type | Method and Description |
---|---|
void |
Lucene40TermVectorsWriter.addProx(int numProx,
DataInput positions,
DataInput offsets) |
void |
Lucene40PostingsReader.decodeTerm(long[] longs,
DataInput in,
FieldInfo fieldInfo,
BlockTermState _termState,
boolean absolute)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
Lucene41PostingsReader.decodeTerm(long[] longs,
DataInput in,
FieldInfo fieldInfo,
BlockTermState _termState,
boolean absolute) |
Modifier and Type | Method and Description |
---|---|
void |
PulsingPostingsReader.decodeTerm(long[] empty,
DataInput in,
FieldInfo fieldInfo,
BlockTermState _termState,
boolean absolute) |
Modifier and Type | Method and Description |
---|---|
void |
SepPostingsReader.decodeTerm(long[] empty,
DataInput in,
FieldInfo fieldInfo,
BlockTermState _termState,
boolean absolute) |
abstract void |
IntIndexInput.Index.read(DataInput indexIn,
boolean absolute) |
Constructor and Description |
---|
IndexFormatTooNewException(DataInput in,
int version,
int minVersion,
int maxVersion)
Creates an
IndexFormatTooNewException |
IndexFormatTooOldException(DataInput in,
int version,
int minVersion,
int maxVersion)
Creates an
IndexFormatTooOldException . |
IndexFormatTooOldException(DataInput in,
String version)
Creates an
IndexFormatTooOldException . |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
Lookup.load(DataInput input)
Discard current lookup data and load it from a previously saved copy.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AnalyzingInfixSuggester.load(DataInput out) |
boolean |
AnalyzingSuggester.load(DataInput input) |
boolean |
FreeTextSuggester.load(DataInput input) |
Modifier and Type | Method and Description |
---|---|
boolean |
FSTCompletionLookup.load(DataInput input) |
boolean |
WFSTCompletionLookup.load(DataInput input) |
Modifier and Type | Method and Description |
---|---|
boolean |
JaspellLookup.load(DataInput input) |
Modifier and Type | Method and Description |
---|---|
boolean |
TSTLookup.load(DataInput input) |
Modifier and Type | Class and Description |
---|---|
class |
BufferedChecksumIndexInput
Simple implementation of
ChecksumIndexInput that wraps
another input and delegates calls. |
class |
BufferedIndexInput
Base implementation class for buffered
IndexInput . |
class |
ByteArrayDataInput
DataInput backed by a byte array.
|
class |
ChecksumIndexInput
Extension of IndexInput, computing checksum as it goes.
|
class |
IndexInput
Abstract base class for input from a file in a
Directory . |
class |
InputStreamDataInput
A
DataInput wrapping a plain InputStream . |
protected static class |
NIOFSDirectory.NIOFSIndexInput
Reads bytes with
FileChannel.read(ByteBuffer, long) |
class |
RAMInputStream
A memory-resident
IndexInput implementation. |
protected static class |
SimpleFSDirectory.SimpleFSIndexInput
Reads bytes with
RandomAccessFile.seek(long) followed by
RandomAccessFile.read(byte[], int, int) . |
Modifier and Type | Method and Description |
---|---|
DataInput |
DataInput.clone()
Returns a clone of this stream.
|
Modifier and Type | Method and Description |
---|---|
void |
DataOutput.copyBytes(DataInput input,
long numBytes)
Copy numBytes bytes from input to ourself.
|
Modifier and Type | Class and Description |
---|---|
class |
PagedBytes.PagedBytesDataInput |
Modifier and Type | Class and Description |
---|---|
static class |
FST.BytesReader
Reads bytes stored in an FST.
|
Modifier and Type | Method and Description |
---|---|
Object |
ListOfOutputs.read(DataInput in) |
Object |
UpToTwoPositiveIntOutputs.read(DataInput in) |
CharsRef |
CharSequenceOutputs.read(DataInput in) |
Object |
NoOutputs.read(DataInput in) |
abstract T |
Outputs.read(DataInput in)
Decode an output value previously written with
Outputs.write(Object, DataOutput) . |
PairOutputs.Pair<A,B> |
PairOutputs.read(DataInput in) |
Long |
PositiveIntOutputs.read(DataInput in) |
BytesRef |
ByteSequenceOutputs.read(DataInput in) |
IntsRef |
IntSequenceOutputs.read(DataInput in) |
Object |
ListOfOutputs.readFinalOutput(DataInput in) |
T |
Outputs.readFinalOutput(DataInput in)
Decode an output value previously written with
Outputs.writeFinalOutput(Object, DataOutput) . |
Constructor and Description |
---|
FST(DataInput in,
Outputs<T> outputs)
Load a previously saved FST.
|
FST(DataInput in,
Outputs<T> outputs,
int maxBlockBits)
Load a previously saved FST; maxBlockBits allows you to
control the size of the byte[] pages used to hold the FST bytes.
|
Modifier and Type | Method and Description |
---|---|
static PackedInts.Reader |
PackedInts.getReader(DataInput in)
Restore a
PackedInts.Reader from a stream. |
static PackedInts.ReaderIterator |
PackedInts.getReaderIterator(DataInput in,
int mem)
Retrieve PackedInts as a
PackedInts.ReaderIterator |
static PackedInts.ReaderIterator |
PackedInts.getReaderIteratorNoHeader(DataInput in,
PackedInts.Format format,
int version,
int valueCount,
int bitsPerValue,
int mem)
Expert: Restore a
PackedInts.ReaderIterator from a stream without reading
metadata at the beginning of the stream. |
static PackedInts.Reader |
PackedInts.getReaderNoHeader(DataInput in,
PackedInts.Format format,
int version,
int valueCount,
int bitsPerValue)
Expert: Restore a
PackedInts.Reader from a stream without reading metadata at
the beginning of the stream. |
static PackedInts.Reader |
PackedInts.getReaderNoHeader(DataInput in,
PackedInts.Header header)
Expert: Restore a
PackedInts.Reader from a stream without reading metadata at
the beginning of the stream. |
static PackedInts.Header |
PackedInts.readHeader(DataInput in)
Expert: reads only the metadata from a stream.
|
void |
BlockPackedReaderIterator.reset(DataInput in,
long valueCount)
Reset the current reader to wrap a stream of
valueCount
values contained in in . |
Constructor and Description |
---|
BlockPackedReaderIterator(DataInput in,
int packedIntsVersion,
int blockSize,
long valueCount)
Sole constructor.
|
PackedDataInput(DataInput in)
Create a new instance that wraps
in . |
Copyright © 2000-2015 The Apache Software Foundation. All Rights Reserved.