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.blocktree |
BlockTree terms dictionary.
|
org.apache.lucene.codecs.blocktreeords |
Same postings format as Lucene50, except the terms dictionary also
supports ords, i.e.
|
org.apache.lucene.codecs.compressing |
StoredFieldsFormat that allows cross-document and cross-field compression of stored fields.
|
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.memory |
Term dictionary, DocValues or Postings formats that are read
entirely into memory.
|
org.apache.lucene.codecs.simpletext |
Simpletext Codec: writes human readable postings.
|
org.apache.lucene.codecs.uniformsplit |
Pluggable term index / block terms dictionary implementations.
|
org.apache.lucene.codecs.uniformsplit.sharedterms |
Pluggable term index / block terms dictionary implementations.
|
org.apache.lucene.index |
Code to maintain and access indices.
|
org.apache.lucene.search.highlight |
Highlighting search terms.
|
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,
NormsProducer norms)
Write all fields, terms and postings.
|
Modifier and Type | Class and Description |
---|---|
class |
BlockTermsReader
Handles a terms dict, but decouples all details of
doc/freqs/positions reading to an instance of
PostingsReaderBase . |
Modifier and Type | Method and Description |
---|---|
void |
BlockTermsWriter.write(Fields fields,
NormsProducer norms) |
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,
NormsProducer norms) |
Modifier and Type | Class and Description |
---|---|
class |
OrdsBlockTreeTermsReader
|
Modifier and Type | Method and Description |
---|---|
void |
OrdsBlockTreeTermsWriter.write(Fields fields,
NormsProducer norms) |
Modifier and Type | Method and Description |
---|---|
Fields |
CompressingTermVectorsReader.get(int doc) |
Modifier and Type | Class and Description |
---|---|
class |
VersionBlockTreeTermsReader
|
Modifier and Type | Method and Description |
---|---|
void |
VersionBlockTreeTermsWriter.write(Fields fields,
NormsProducer norms) |
Modifier and Type | Class and Description |
---|---|
class |
FSTOrdTermsReader
FST-based terms dictionary reader.
|
class |
FSTTermsReader
FST-based terms dictionary reader.
|
Modifier and Type | Method and Description |
---|---|
void |
FSTTermsWriter.write(Fields fields,
NormsProducer norms) |
void |
FSTOrdTermsWriter.write(Fields fields,
NormsProducer norms) |
Modifier and Type | Method and Description |
---|---|
Fields |
SimpleTextTermVectorsReader.get(int doc) |
Modifier and Type | Class and Description |
---|---|
class |
UniformSplitTermsReader
A block-based terms index and dictionary based on the Uniform Split technique.
|
Modifier and Type | Method and Description |
---|---|
void |
UniformSplitTermsWriter.write(Fields fields,
NormsProducer normsProducer) |
Modifier and Type | Class and Description |
---|---|
class |
STUniformSplitTermsReader
A block-based terms index and dictionary based on the Uniform Split technique,
and sharing all the fields terms in the same dictionary, with all the fields
of a term in the same block line.
|
Modifier and Type | Method and Description |
---|---|
void |
STUniformSplitTermsWriter.write(Fields fields,
NormsProducer normsProducer) |
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 |
---|---|
Fields |
ParallelLeafReader.getTermVectors(int docID) |
abstract Fields |
IndexReader.getTermVectors(int docID)
Retrieve term vectors for this document, or null if
term vectors were not indexed.
|
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)
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
Fields |
TermVectorLeafReader.getTermVectors(int docID) |
Modifier and Type | Method and Description |
---|---|
static TokenStream |
TokenSources.getTermVectorTokenStreamOrNull(String field,
Fields tvFields,
int maxStartOffset)
Get a token stream by un-inverting the term vector.
|
static TokenStream |
TokenSources.getTokenStream(String field,
Fields tvFields,
String text,
Analyzer analyzer,
int maxStartOffset)
Get a token stream from either un-inverting a term vector if possible, or by analyzing the text.
|
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.