Package | Description |
---|---|
org.apache.lucene.codecs |
Codecs for testing (simulate old disk formats, wacky theoretical use cases, etc)
|
org.apache.lucene.codecs.appending |
Codec for on append-only outputs, such as plain output streams and append-only filesystems.
|
org.apache.lucene.codecs.asserting |
Codec for testing that asserts various contracts of the codec apis.
|
org.apache.lucene.codecs.blockterms |
Pluggable term index / block terms dictionary implementations.
|
org.apache.lucene.codecs.blocktree |
BlockTree terms dictionary.
|
org.apache.lucene.codecs.blocktreeords |
Same postings format as Lucene41, except the terms dictionary also
supports ords, i.e.
|
org.apache.lucene.codecs.compressing |
Support for testing
CompressingStoredFieldsFormat . |
org.apache.lucene.codecs.idversion |
A primary-key postings format that associates a version (long) with each term and
can provide fail-fast lookups by ID and version.
|
org.apache.lucene.codecs.lucene40 |
Support for testing
Lucene40PostingsFormat . |
org.apache.lucene.codecs.lucene41 |
Support for testing
Lucene41Codec . |
org.apache.lucene.codecs.lucene42 |
Support for testing
Lucene42Codec . |
org.apache.lucene.codecs.lucene46 |
Support for testing
Lucene46Codec . |
org.apache.lucene.codecs.sep |
Sep: base support for separate files (doc,frq,pos,skp,pyl)
|
org.apache.lucene.codecs.simpletext |
Simpletext Codec: writes human readable postings.
|
org.apache.lucene.index |
Misc index tools and index support.
|
Modifier and Type | Method and Description |
---|---|
abstract FieldInfos |
FieldInfosReader.read(Directory directory,
String segmentName,
String segmentSuffix,
IOContext iocontext)
Read the
FieldInfos previously written with FieldInfosWriter . |
Modifier and Type | Method and Description |
---|---|
protected void |
StoredFieldsWriter.addDocument(Iterable<? extends IndexableField> doc,
FieldInfos fieldInfos)
sugar method for startDocument() + writeField() for every stored field in the document
|
abstract StoredFieldsReader |
StoredFieldsFormat.fieldsReader(Directory directory,
SegmentInfo si,
FieldInfos fn,
IOContext context)
Returns a
StoredFieldsReader to load stored
fields. |
abstract void |
TermVectorsWriter.finish(FieldInfos fis,
int numDocs)
Called before
TermVectorsWriter.close() , passing in the number
of documents that were written. |
abstract void |
StoredFieldsWriter.finish(FieldInfos fis,
int numDocs)
Called before
StoredFieldsWriter.close() , passing in the number
of documents that were written. |
abstract TermVectorsReader |
TermVectorsFormat.vectorsReader(Directory directory,
SegmentInfo segmentInfo,
FieldInfos fieldInfos,
IOContext context)
Returns a
TermVectorsReader to read term
vectors. |
abstract void |
SegmentInfoWriter.write(Directory dir,
SegmentInfo info,
FieldInfos fis,
IOContext ioContext)
Write
SegmentInfo data. |
abstract void |
FieldInfosWriter.write(Directory directory,
String segmentName,
String segmentSuffix,
FieldInfos infos,
IOContext context)
Writes the provided
FieldInfos to the
directory. |
Constructor and Description |
---|
AppendingTermsReader(Directory dir,
FieldInfos fieldInfos,
SegmentInfo info,
PostingsReaderBase postingsReader,
IOContext ioContext,
String segmentSuffix,
int indexDivisor)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
StoredFieldsReader |
AssertingStoredFieldsFormat.fieldsReader(Directory directory,
SegmentInfo si,
FieldInfos fn,
IOContext context) |
TermVectorsReader |
AssertingTermVectorsFormat.vectorsReader(Directory directory,
SegmentInfo segmentInfo,
FieldInfos fieldInfos,
IOContext context) |
Constructor and Description |
---|
BlockTermsReader(TermsIndexReaderBase indexReader,
Directory dir,
FieldInfos fieldInfos,
SegmentInfo info,
PostingsReaderBase postingsReader,
IOContext context,
String segmentSuffix) |
FixedGapTermsIndexReader(Directory dir,
FieldInfos fieldInfos,
String segment,
int indexDivisor,
Comparator<BytesRef> termComp,
String segmentSuffix,
IOContext context) |
VariableGapTermsIndexReader(Directory dir,
FieldInfos fieldInfos,
String segment,
int indexDivisor,
String segmentSuffix,
IOContext context) |
Constructor and Description |
---|
BlockTreeTermsReader(Directory dir,
FieldInfos fieldInfos,
SegmentInfo info,
PostingsReaderBase postingsReader,
IOContext ioContext,
String segmentSuffix,
int indexDivisor)
Sole constructor.
|
Constructor and Description |
---|
OrdsBlockTreeTermsReader(Directory dir,
FieldInfos fieldInfos,
SegmentInfo info,
PostingsReaderBase postingsReader,
IOContext ioContext,
String segmentSuffix)
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
StoredFieldsReader |
CompressingStoredFieldsFormat.fieldsReader(Directory directory,
SegmentInfo si,
FieldInfos fn,
IOContext context) |
void |
CompressingTermVectorsWriter.finish(FieldInfos fis,
int numDocs) |
void |
CompressingStoredFieldsWriter.finish(FieldInfos fis,
int numDocs) |
TermVectorsReader |
CompressingTermVectorsFormat.vectorsReader(Directory directory,
SegmentInfo segmentInfo,
FieldInfos fieldInfos,
IOContext context) |
Constructor and Description |
---|
CompressingStoredFieldsReader(Directory d,
SegmentInfo si,
String segmentSuffix,
FieldInfos fn,
IOContext context,
String formatName,
CompressionMode compressionMode)
Sole constructor.
|
CompressingTermVectorsReader(Directory d,
SegmentInfo si,
String segmentSuffix,
FieldInfos fn,
IOContext context,
String formatName,
CompressionMode compressionMode)
Sole constructor.
|
Constructor and Description |
---|
VersionBlockTreeTermsReader(Directory dir,
FieldInfos fieldInfos,
SegmentInfo info,
PostingsReaderBase postingsReader,
IOContext ioContext,
String segmentSuffix)
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
StoredFieldsReader |
Lucene40StoredFieldsFormat.fieldsReader(Directory directory,
SegmentInfo si,
FieldInfos fn,
IOContext context) |
void |
Lucene40TermVectorsWriter.finish(FieldInfos fis,
int numDocs) |
void |
Lucene40StoredFieldsWriter.finish(FieldInfos fis,
int numDocs) |
TermVectorsReader |
Lucene40TermVectorsFormat.vectorsReader(Directory directory,
SegmentInfo segmentInfo,
FieldInfos fieldInfos,
IOContext context) |
void |
Lucene40SegmentInfoWriter.write(Directory dir,
SegmentInfo si,
FieldInfos fis,
IOContext ioContext)
Deprecated.
Save a single segment's info.
|
void |
Lucene40FieldInfosWriter.write(Directory directory,
String segmentName,
String segmentSuffix,
FieldInfos infos,
IOContext context)
Deprecated.
|
Constructor and Description |
---|
Lucene40PostingsReader(Directory dir,
FieldInfos fieldInfos,
SegmentInfo segmentInfo,
IOContext ioContext,
String segmentSuffix)
Deprecated.
Sole constructor.
|
Lucene40StoredFieldsReader(Directory d,
SegmentInfo si,
FieldInfos fn,
IOContext context)
Sole constructor.
|
Lucene40TermVectorsReader(Directory d,
SegmentInfo si,
FieldInfos fieldInfos,
IOContext context)
Sole constructor.
|
Constructor and Description |
---|
Lucene41PostingsReader(Directory dir,
FieldInfos fieldInfos,
SegmentInfo segmentInfo,
IOContext ioContext,
String segmentSuffix)
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
Lucene42FieldInfosWriter.write(Directory directory,
String segmentName,
String segmentSuffix,
FieldInfos infos,
IOContext context)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
Lucene46SegmentInfoWriter.write(Directory dir,
SegmentInfo si,
FieldInfos fis,
IOContext ioContext)
Save a single segment's info.
|
Constructor and Description |
---|
SepPostingsReader(Directory dir,
FieldInfos fieldInfos,
SegmentInfo segmentInfo,
IOContext context,
IntStreamFactory intFactory,
String segmentSuffix) |
Modifier and Type | Method and Description |
---|---|
FieldInfos |
SimpleTextFieldInfosReader.read(Directory directory,
String segmentName,
String segmentSuffix,
IOContext iocontext) |
Modifier and Type | Method and Description |
---|---|
StoredFieldsReader |
SimpleTextStoredFieldsFormat.fieldsReader(Directory directory,
SegmentInfo si,
FieldInfos fn,
IOContext context) |
void |
SimpleTextStoredFieldsWriter.finish(FieldInfos fis,
int numDocs) |
void |
SimpleTextTermVectorsWriter.finish(FieldInfos fis,
int numDocs) |
TermVectorsReader |
SimpleTextTermVectorsFormat.vectorsReader(Directory directory,
SegmentInfo segmentInfo,
FieldInfos fieldInfos,
IOContext context) |
void |
SimpleTextSegmentInfoWriter.write(Directory dir,
SegmentInfo si,
FieldInfos fis,
IOContext ioContext) |
void |
SimpleTextFieldInfosWriter.write(Directory directory,
String segmentName,
String segmentSuffix,
FieldInfos infos,
IOContext context) |
Constructor and Description |
---|
SimpleTextStoredFieldsReader(Directory directory,
SegmentInfo si,
FieldInfos fn,
IOContext context) |
Modifier and Type | Field and Description |
---|---|
FieldInfos |
SegmentWriteState.fieldInfos
FieldInfos describing all fields in this
segment. |
FieldInfos |
MergeState.fieldInfos
FieldInfos of the newly merged segment. |
FieldInfos |
SegmentReadState.fieldInfos
FieldInfos describing all fields in this
segment. |
Modifier and Type | Method and Description |
---|---|
FieldInfos |
FieldFilterAtomicReader.getFieldInfos() |
FieldInfos |
SlowCompositeReaderWrapper.getFieldInfos() |
FieldInfos |
FilterAtomicReader.getFieldInfos() |
abstract FieldInfos |
AtomicReader.getFieldInfos()
Get the
FieldInfos describing all fields in
this reader. |
FieldInfos |
ParallelAtomicReader.getFieldInfos()
Get the
FieldInfos describing all fields in
this reader. |
FieldInfos |
SegmentReader.getFieldInfos() |
static FieldInfos |
MultiFields.getMergedFieldInfos(IndexReader reader)
Call this to get the (merged) FieldInfos for a
composite reader.
|
Constructor and Description |
---|
SegmentReadState(Directory dir,
SegmentInfo info,
FieldInfos fieldInfos,
IOContext context,
int termsIndexDivisor)
Create a
SegmentReadState . |
SegmentReadState(Directory dir,
SegmentInfo info,
FieldInfos fieldInfos,
IOContext context,
int termsIndexDivisor,
String segmentSuffix)
Create a
SegmentReadState . |
SegmentWriteState(InfoStream infoStream,
Directory directory,
SegmentInfo segmentInfo,
FieldInfos fieldInfos,
int termIndexInterval,
org.apache.lucene.index.BufferedUpdates segUpdates,
IOContext context)
Sole constructor.
|
SegmentWriteState(InfoStream infoStream,
Directory directory,
SegmentInfo segmentInfo,
FieldInfos fieldInfos,
int termIndexInterval,
org.apache.lucene.index.BufferedUpdates segUpdates,
IOContext context,
String segmentSuffix)
Constructor which takes segment suffix.
|
Copyright © 2000–2014 The Apache Software Foundation. All rights reserved.