Package | Description |
---|---|
org.apache.lucene.codecs.lucene50 |
Components from the Lucene 5.0 index format
See
org.apache.lucene.codecs.lucene80 for an overview
of the index format. |
org.apache.lucene.codecs.lucene60 |
Components from the Lucene 6.0 index format.
|
org.apache.lucene.document |
The logical representation of a
Document for indexing and searching. |
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.
|
Modifier and Type | Method and Description |
---|---|
private static DocValuesType |
Lucene50FieldInfosFormat.getDocValuesType(IndexInput input,
byte b) |
Modifier and Type | Method and Description |
---|---|
private static byte |
Lucene50FieldInfosFormat.docValuesByte(DocValuesType type) |
Modifier and Type | Method and Description |
---|---|
private static DocValuesType |
Lucene60FieldInfosFormat.getDocValuesType(IndexInput input,
byte b) |
Modifier and Type | Method and Description |
---|---|
private static byte |
Lucene60FieldInfosFormat.docValuesByte(DocValuesType type) |
Modifier and Type | Field and Description |
---|---|
private DocValuesType |
FieldType.docValuesType |
Modifier and Type | Method and Description |
---|---|
DocValuesType |
FieldType.docValuesType()
DocValues
DocValuesType : how the field's value will be indexed
into docValues. |
Modifier and Type | Method and Description |
---|---|
void |
FieldType.setDocValuesType(DocValuesType type)
Sets the field's DocValuesType
|
Modifier and Type | Field and Description |
---|---|
private DocValuesType |
FieldInfo.docValuesType |
(package private) DocValuesType |
DocValuesFieldUpdates.type |
(package private) DocValuesType |
DocValuesUpdate.type |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,DocValuesType> |
FieldInfos.FieldNumbers.docValuesType |
Modifier and Type | Method and Description |
---|---|
DocValuesType |
IndexableFieldType.docValuesType()
DocValues
DocValuesType : how the field's value will be indexed
into docValues. |
DocValuesType |
FieldInfo.getDocValuesType()
Returns
DocValuesType of the docValues; this is
DocValuesType.NONE if the field has no docvalues. |
static DocValuesType |
DocValuesType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DocValuesType[] |
DocValuesType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
(package private) int |
FieldInfos.FieldNumbers.addOrGet(java.lang.String fieldName,
int preferredFieldNumber,
IndexOptions indexOptions,
DocValuesType dvType,
int dataDimensionCount,
int indexDimensionCount,
int dimensionNumBytes,
boolean isSoftDeletesField)
Returns the global field number for the given field name.
|
private FieldInfo |
FieldInfos.Builder.addOrUpdateInternal(java.lang.String name,
int preferredFieldNumber,
boolean storeTermVector,
boolean omitNorms,
boolean storePayloads,
IndexOptions indexOptions,
DocValuesType docValues,
long dvGen,
java.util.Map<java.lang.String,java.lang.String> attributes,
int dataDimensionCount,
int indexDimensionCount,
int dimensionNumBytes,
boolean isSoftDeletesField) |
private static void |
DocValues.checkField(LeafReader in,
java.lang.String field,
DocValuesType... expected) |
(package private) boolean |
FieldInfos.FieldNumbers.contains(java.lang.String fieldName,
DocValuesType dvType)
Returns true if the
fieldName exists in the map and is of the
same dvType . |
private FieldInfo |
CodecReader.getDVField(java.lang.String field,
DocValuesType type) |
private void |
DefaultIndexingChain.indexDocValue(DefaultIndexingChain.PerField fp,
DocValuesType dvType,
IndexableField field)
Called from processDocument to index one field's doc value
|
void |
FieldInfo.setDocValuesType(DocValuesType type)
Record that this field is indexed with docvalues, with the specified type
|
(package private) void |
FieldInfos.FieldNumbers.setDocValuesType(int number,
java.lang.String name,
DocValuesType dvType) |
private void |
DefaultIndexingChain.validateIndexSortDVType(Sort indexSort,
java.lang.String fieldName,
DocValuesType dvType) |
(package private) void |
FieldInfos.FieldNumbers.verifyConsistent(java.lang.Integer number,
java.lang.String name,
DocValuesType dvType) |
Constructor and Description |
---|
DocValuesFieldUpdates(int maxDoc,
long delGen,
java.lang.String field,
DocValuesType type) |
DocValuesUpdate(DocValuesType type,
Term term,
java.lang.String field,
int docIDUpto,
boolean hasValue)
Constructor.
|
FieldInfo(java.lang.String name,
int number,
boolean storeTermVector,
boolean omitNorms,
boolean storePayloads,
IndexOptions indexOptions,
DocValuesType docValues,
long dvGen,
java.util.Map<java.lang.String,java.lang.String> attributes,
int pointDataDimensionCount,
int pointIndexDimensionCount,
int pointNumBytes,
boolean softDeletesField)
Sole constructor.
|
SingleValueDocValuesFieldUpdates(int maxDoc,
long delGen,
java.lang.String field,
DocValuesType type) |
Modifier and Type | Method and Description |
---|---|
private MemoryIndex.Info |
MemoryIndex.MemoryIndexReader.getInfoForExpectedDocValuesType(java.lang.String fieldName,
DocValuesType expectedType) |
private SortedDocValues |
MemoryIndex.MemoryIndexReader.getSortedDocValues(java.lang.String field,
DocValuesType docValuesType) |
private void |
MemoryIndex.storeDocValues(MemoryIndex.Info info,
DocValuesType docValuesType,
java.lang.Object docValuesValue) |