Uses of Class
org.apache.lucene.index.DocValuesType
-
Packages that use DocValuesType Package Description org.apache.lucene.codecs.lucene50 Components from the Lucene 5.0 index format Seeorg.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.codecs.simpletext Simpletext Codec: writes human readable postings.org.apache.lucene.document The logical representation of aDocument
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. -
-
Uses of DocValuesType in org.apache.lucene.codecs.lucene50
Methods in org.apache.lucene.codecs.lucene50 that return DocValuesType Modifier and Type Method Description private static DocValuesType
Lucene50FieldInfosFormat. getDocValuesType(IndexInput input, byte b)
Methods in org.apache.lucene.codecs.lucene50 with parameters of type DocValuesType Modifier and Type Method Description private static byte
Lucene50FieldInfosFormat. docValuesByte(DocValuesType type)
-
Uses of DocValuesType in org.apache.lucene.codecs.lucene60
Methods in org.apache.lucene.codecs.lucene60 that return DocValuesType Modifier and Type Method Description private static DocValuesType
Lucene60FieldInfosFormat. getDocValuesType(IndexInput input, byte b)
Methods in org.apache.lucene.codecs.lucene60 with parameters of type DocValuesType Modifier and Type Method Description private static byte
Lucene60FieldInfosFormat. docValuesByte(DocValuesType type)
-
Uses of DocValuesType in org.apache.lucene.codecs.simpletext
Methods in org.apache.lucene.codecs.simpletext that return DocValuesType Modifier and Type Method Description DocValuesType
SimpleTextFieldInfosFormat. docValuesType(java.lang.String dvType)
Methods in org.apache.lucene.codecs.simpletext with parameters of type DocValuesType Modifier and Type Method Description private static java.lang.String
SimpleTextFieldInfosFormat. getDocValuesType(DocValuesType type)
private void
SimpleTextDocValuesWriter. writeFieldEntry(FieldInfo field, DocValuesType type)
write the header for this field -
Uses of DocValuesType in org.apache.lucene.document
Fields in org.apache.lucene.document declared as DocValuesType Modifier and Type Field Description private DocValuesType
FieldType. docValuesType
Methods in org.apache.lucene.document that return DocValuesType Modifier and Type Method Description DocValuesType
FieldType. docValuesType()
DocValuesDocValuesType
: how the field's value will be indexed into docValues.Methods in org.apache.lucene.document with parameters of type DocValuesType Modifier and Type Method Description void
FieldType. setDocValuesType(DocValuesType type)
Sets the field's DocValuesType -
Uses of DocValuesType in org.apache.lucene.index
Fields in org.apache.lucene.index declared as DocValuesType Modifier and Type Field Description private DocValuesType
FieldInfo. docValuesType
(package private) DocValuesType
DocValuesFieldUpdates. type
(package private) DocValuesType
DocValuesUpdate. type
Fields in org.apache.lucene.index with type parameters of type DocValuesType Modifier and Type Field Description private java.util.Map<java.lang.String,DocValuesType>
FieldInfos.FieldNumbers. docValuesType
Methods in org.apache.lucene.index that return DocValuesType Modifier and Type Method Description DocValuesType
IndexableFieldType. docValuesType()
DocValuesDocValuesType
: how the field's value will be indexed into docValues.DocValuesType
FieldInfo. getDocValuesType()
ReturnsDocValuesType
of the docValues; this isDocValuesType.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.Methods in org.apache.lucene.index with parameters of type DocValuesType Modifier and Type Method 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 thefieldName
exists in the map and is of the samedvType
.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 valuevoid
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)
Constructors in org.apache.lucene.index with parameters of type DocValuesType Constructor 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)
-
Uses of DocValuesType in org.apache.lucene.index.memory
Methods in org.apache.lucene.index.memory with parameters of type DocValuesType Modifier and Type Method 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)
-