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.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.perfield |
Postings format that can delegate to different formats per-field.
|
org.apache.lucene.index |
Code to maintain and access indices.
|
org.apache.lucene.index.memory |
High-performance single-document main memory Apache Lucene fulltext search index.
|
org.apache.lucene.search.highlight |
Highlighting search terms.
|
org.apache.lucene.search.uhighlight |
The UnifiedHighlighter -- a flexible highlighter that can get offsets from postings, term vectors, or analysis.
|
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 |
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 |
---|---|
private class |
CompressingTermVectorsReader.TVFields |
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 |
---|---|
private static class |
PerFieldMergeState.FilterFieldsProducer |
private static class |
PerFieldPostingsFormat.FieldsReader |
Modifier and Type | Method and Description |
---|---|
void |
PerFieldPostingsFormat.FieldsWriter.write(Fields fields,
NormsProducer norms) |
Modifier and Type | Class and Description |
---|---|
static class |
FilterLeafReader.FilterFields
Base class for filtering
Fields
implementations. |
(package private) class |
FreqProxFields
Implements limited (iterators only, no stats)
Fields interface over the in-RAM buffered
fields/terms/postings, to flush postings through the
PostingsFormat. |
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 . |
private static class |
ParallelLeafReader.ParallelFields |
(package private) static class |
SortingLeafReader.SortingFields |
Modifier and Type | Field and Description |
---|---|
static Fields[] |
Fields.EMPTY_ARRAY
Zero-length
Fields array. |
protected Fields |
FilterLeafReader.FilterFields.in
The underlying Fields instance.
|
private Fields[] |
MultiFields.subs |
Modifier and Type | Method and Description |
---|---|
Fields |
FilterLeafReader.getTermVectors(int docID) |
Fields |
SortingLeafReader.getTermVectors(int docID) |
Fields |
MergeReaderWrapper.getTermVectors(int docID) |
Fields |
BaseCompositeReader.getTermVectors(int docID) |
Fields |
CodecReader.getTermVectors(int docID) |
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) |
Modifier and Type | Method and Description |
---|---|
private void |
FreqProxTermsWriter.applyDeletes(SegmentWriteState state,
Fields fields) |
private static CheckIndex.Status.TermIndexStatus |
CheckIndex.checkFields(Fields fields,
Bits liveDocs,
int maxDoc,
FieldInfos fieldInfos,
NormsProducer normsProducer,
boolean doPrint,
boolean isVectors,
java.io.PrintStream infoStream,
boolean verbose,
boolean doSlowChecks)
checks Fields api is consistent with itself.
|
private static void |
SortingTermVectorsConsumer.writeTermVectors(TermVectorsWriter writer,
Fields vectors,
FieldInfos fieldInfos)
Safe (but, slowish) default method to copy every vector field in the provided
TermVectorsWriter . |
Constructor and Description |
---|
FilterFields(Fields in)
Creates a new FilterFields.
|
MultiFields(Fields[] subs,
ReaderSlice[] subSlices)
Sole constructor.
|
SortingFields(Fields in,
FieldInfos infos,
Sorter.DocMap docMap) |
TermDocsIterator(Fields fields,
boolean sortedTerms) |
Modifier and Type | Class and Description |
---|---|
private class |
MemoryIndex.MemoryIndexReader.MemoryFields |
Modifier and Type | Method and Description |
---|---|
Fields |
MemoryIndex.MemoryIndexReader.getTermVectors(int docID) |
Modifier and Type | Field and Description |
---|---|
private Fields |
TermVectorLeafReader.fields |
Modifier and Type | Method and Description |
---|---|
Fields |
TermVectorLeafReader.getTermVectors(int docID) |
Modifier and Type | Method and Description |
---|---|
static TokenStream |
TokenSources.getTermVectorTokenStreamOrNull(java.lang.String field,
Fields tvFields,
int maxStartOffset)
Get a token stream by un-inverting the term vector.
|
static TokenStream |
TokenSources.getTokenStream(java.lang.String field,
Fields tvFields,
java.lang.String text,
Analyzer analyzer,
int maxStartOffset)
Get a token stream from either un-inverting a term vector if possible, or by analyzing the text.
|
Modifier and Type | Field and Description |
---|---|
private Fields |
UnifiedHighlighter.TermVectorReusingLeafReader.tvFields |
Modifier and Type | Method and Description |
---|---|
Fields |
UnifiedHighlighter.TermVectorReusingLeafReader.getTermVectors(int docID) |