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.index |
Code to maintain and access indices.
|
org.apache.lucene.search.highlight |
Highlighting search terms.
|
org.apache.lucene.util |
Some utility classes.
|
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 |
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) |
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.
|
class |
Lucene40BlockTreeTermsReader
Deprecated.
Only for 4.x backcompat
|
Modifier and Type | Method and Description |
---|---|
void |
BlockTreeTermsWriter.write(Fields fields) |
Modifier and Type | Class and Description |
---|---|
class |
OrdsBlockTreeTermsReader
|
Modifier and Type | Method and Description |
---|---|
void |
OrdsBlockTreeTermsWriter.write(Fields fields) |
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) |
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 |
FSTOrdTermsWriter.write(Fields fields) |
void |
FSTTermsWriter.write(Fields fields) |
Modifier and Type | Method and Description |
---|---|
Fields |
SimpleTextTermVectorsReader.get(int doc) |
Modifier and Type | Class and Description |
---|---|
static class |
AssertingLeafReader.AssertingFields
Wraps a Fields but with additional asserts
|
static class |
ExitableDirectoryReader.ExitableFields
Wrapper class for another Fields implementation that is used by the ExitableFilterAtomicReader.
|
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
Exposes flex API, merged from flex API of sub-segments.
|
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 |
SortingLeafReader.fields() |
Fields |
AssertingLeafReader.fields() |
Fields |
FieldFilterLeafReader.fields() |
Fields |
CodecReader.fields() |
Fields |
ParallelLeafReader.fields() |
Fields |
FilterLeafReader.fields() |
abstract Fields |
LeafReader.fields()
Returns
Fields for this reader. |
Fields |
SlowCompositeReaderWrapper.fields() |
Fields |
ExitableDirectoryReader.ExitableFilterAtomicReader.fields() |
static Fields |
MultiFields.getFields(IndexReader reader)
Returns a single
Fields instance for this
reader, merging fields/terms/docs/positions on the
fly. |
Fields |
SortingLeafReader.getTermVectors(int docID) |
Fields |
AssertingLeafReader.getTermVectors(int docID) |
Fields |
FieldFilterLeafReader.getTermVectors(int docID) |
Fields |
CodecReader.getTermVectors(int docID) |
Fields |
ParallelLeafReader.getTermVectors(int docID) |
Fields |
FilterLeafReader.getTermVectors(int docID) |
abstract Fields |
IndexReader.getTermVectors(int docID)
Retrieve term vectors for this document, or null if
term vectors were not indexed.
|
Fields |
SlowCompositeReaderWrapper.getTermVectors(int docID) |
Fields |
BaseCompositeReader.getTermVectors(int docID) |
Modifier and Type | Method and Description |
---|---|
protected void |
BaseTermVectorsFormatTestCase.assertEquals(BaseTermVectorsFormatTestCase.RandomDocument doc,
Fields fields) |
void |
RandomPostingsTester.testFields(Fields fields) |
void |
RandomPostingsTester.testTerms(Fields fieldsSource,
EnumSet<RandomPostingsTester.Option> options,
IndexOptions maxTestOptions,
IndexOptions maxIndexOptions,
boolean alwaysTestMax) |
Constructor and Description |
---|
AssertingFields(Fields in) |
ExitableFields(Fields fields,
QueryTimeout queryTimeout)
Constructor
|
FilterFields(Fields in)
Creates a new FilterFields.
|
MultiFields(Fields[] subs,
ReaderSlice[] subSlices)
Expert: construct a new MultiFields instance directly.
|
Modifier and Type | Method and Description |
---|---|
Fields |
TermVectorLeafReader.fields() |
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.
|
Modifier and Type | Method and Description |
---|---|
void |
LuceneTestCase.assertFieldsEquals(String info,
IndexReader leftReader,
Fields leftFields,
Fields rightFields,
boolean deep)
Fields api equivalency
|
void |
LuceneTestCase.assertFieldStatisticsEquals(String info,
Fields leftFields,
Fields rightFields)
checks that top-level statistics on Fields are the same
|
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.