Module org.apache.lucene.codecs
Class SimpleTextFieldInfosFormat
java.lang.Object
org.apache.lucene.codecs.FieldInfosFormat
org.apache.lucene.codecs.simpletext.SimpleTextFieldInfosFormat
plaintext field infos format
FOR RECREATIONAL USE ONLY
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final BytesRef
(package private) static final BytesRef
(package private) static final BytesRef
(package private) static final BytesRef
(package private) static final BytesRef
(package private) static final BytesRef
(package private) static final String
Extension of field infos(package private) static final BytesRef
(package private) static final BytesRef
(package private) static final BytesRef
(package private) static final BytesRef
(package private) static final BytesRef
(package private) static final BytesRef
(package private) static final BytesRef
(package private) static final BytesRef
(package private) static final BytesRef
(package private) static final BytesRef
(package private) static final BytesRef
(package private) static final BytesRef
(package private) static final BytesRef
(package private) static final BytesRef
(package private) static final BytesRef
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondistanceFunction
(String scoreFunction) docValuesType
(String dvType) private static String
read
(Directory directory, SegmentInfo segmentInfo, String segmentSuffix, IOContext iocontext) private String
readString
(int offset, BytesRefBuilder scratch) vectorEncoding
(String vectorEncoding) void
write
(Directory directory, SegmentInfo segmentInfo, String segmentSuffix, FieldInfos infos, IOContext context) Writes the providedFieldInfos
to the directory.
-
Field Details
-
FIELD_INFOS_EXTENSION
Extension of field infos- See Also:
-
NUMFIELDS
-
NAME
-
NUMBER
-
STORETV
-
STORETVPOS
-
STORETVOFF
-
PAYLOADS
-
NORMS
-
DOCVALUES
-
DOCVALUES_GEN
-
INDEXOPTIONS
-
NUM_ATTS
-
ATT_KEY
-
ATT_VALUE
-
DATA_DIM_COUNT
-
INDEX_DIM_COUNT
-
DIM_NUM_BYTES
-
VECTOR_NUM_DIMS
-
VECTOR_ENCODING
-
VECTOR_SIMILARITY
-
SOFT_DELETES
-
-
Constructor Details
-
SimpleTextFieldInfosFormat
public SimpleTextFieldInfosFormat()
-
-
Method Details
-
read
public FieldInfos read(Directory directory, SegmentInfo segmentInfo, String segmentSuffix, IOContext iocontext) throws IOException Description copied from class:FieldInfosFormat
Read theFieldInfos
previously written withFieldInfosFormat.write(org.apache.lucene.store.Directory, org.apache.lucene.index.SegmentInfo, java.lang.String, org.apache.lucene.index.FieldInfos, org.apache.lucene.store.IOContext)
.- Specified by:
read
in classFieldInfosFormat
- Throws:
IOException
-
docValuesType
-
vectorEncoding
-
distanceFunction
-
readString
-
write
public void write(Directory directory, SegmentInfo segmentInfo, String segmentSuffix, FieldInfos infos, IOContext context) throws IOException Description copied from class:FieldInfosFormat
Writes the providedFieldInfos
to the directory.- Specified by:
write
in classFieldInfosFormat
- Throws:
IOException
-
getDocValuesType
-