Package | Description |
---|---|
org.apache.lucene.codecs |
Codecs API: API for customization of the encoding and structure of the index.
|
org.apache.lucene.codecs.blocktree |
BlockTree terms dictionary.
|
org.apache.lucene.codecs.compressing |
StoredFieldsFormat that allows cross-document and cross-field compression of stored fields.
|
org.apache.lucene.index |
Code to maintain and access indices.
|
Modifier and Type | Class and Description |
---|---|
class |
FieldsProducer
Abstract API that produces terms, doc, freq, prox, offset and
payloads postings.
|
Modifier and Type | Method and Description |
---|---|
abstract Fields |
TermVectorsReader.get(int doc)
Returns term vectors for this document, or null if
term vectors were not indexed.
|
Modifier and Type | Method and Description |
---|---|
protected void |
TermVectorsWriter.addAllDocVectors(Fields vectors,
MergeState mergeState)
Safe (but, slowish) default method to write every
vector field in the document.
|
abstract void |
FieldsConsumer.write(Fields fields)
Write all fields, terms and postings.
|
Modifier and Type | Class and Description |
---|---|
class |
BlockTreeTermsReader
A block-based terms index and dictionary that assigns
terms to variable length blocks according to how they
share prefixes.
|
Modifier and Type | Method and Description |
---|---|
void |
BlockTreeTermsWriter.write(Fields fields) |
Modifier and Type | Method and Description |
---|---|
Fields |
CompressingTermVectorsReader.get(int doc) |
Modifier and Type | Class and Description |
---|---|
static class |
FilterLeafReader.FilterFields
Base class for filtering
Fields
implementations. |
class |
MappedMultiFields
A
Fields implementation that merges multiple
Fields into one, and maps around deleted documents. |
class |
MultiFields
Provides a single
Fields term index view over an
IndexReader . |
Modifier and Type | Field and Description |
---|---|
static Fields[] |
Fields.EMPTY_ARRAY
Zero-length
Fields array. |
protected Fields |
FilterLeafReader.FilterFields.in
The underlying Fields instance.
|
Modifier and Type | Method and Description |
---|---|
static Fields |
MultiFields.getFields(IndexReader reader)
Returns a single
Fields instance for this
reader, merging fields/terms/docs/positions on the
fly. |
abstract Fields |
IndexReader.getTermVectors(int docID)
Retrieve term vectors for this document, or null if
term vectors were not indexed.
|
Fields |
ParallelLeafReader.getTermVectors(int docID) |
Fields |
FilterLeafReader.getTermVectors(int docID) |
Fields |
CodecReader.getTermVectors(int docID) |
Fields |
BaseCompositeReader.getTermVectors(int docID) |
Constructor and Description |
---|
FilterFields(Fields in)
Creates a new FilterFields.
|
MultiFields(Fields[] subs,
ReaderSlice[] subSlices)
Expert: construct a new MultiFields instance directly.
|
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.