Class SimpleTextFieldInfosFormat
- java.lang.Object
-
- org.apache.lucene.codecs.FieldInfosFormat
-
- org.apache.lucene.codecs.simpletext.SimpleTextFieldInfosFormat
-
public class SimpleTextFieldInfosFormat extends FieldInfosFormat
plaintext field infos formatFOR RECREATIONAL USE ONLY
- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
-
Constructor Summary
Constructors Constructor Description SimpleTextFieldInfosFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VectorSimilarityFunction
distanceFunction(String scoreFunction)
DocValuesType
docValuesType(String dvType)
FieldInfos
read(Directory directory, SegmentInfo segmentInfo, String segmentSuffix, IOContext iocontext)
VectorEncoding
vectorEncoding(String vectorEncoding)
void
write(Directory directory, SegmentInfo segmentInfo, String segmentSuffix, FieldInfos infos, IOContext context)
-
-
-
Method Detail
-
read
public FieldInfos read(Directory directory, SegmentInfo segmentInfo, String segmentSuffix, IOContext iocontext) throws IOException
- Specified by:
read
in classFieldInfosFormat
- Throws:
IOException
-
docValuesType
public DocValuesType docValuesType(String dvType)
-
vectorEncoding
public VectorEncoding vectorEncoding(String vectorEncoding)
-
distanceFunction
public VectorSimilarityFunction distanceFunction(String scoreFunction)
-
write
public void write(Directory directory, SegmentInfo segmentInfo, String segmentSuffix, FieldInfos infos, IOContext context) throws IOException
- Specified by:
write
in classFieldInfosFormat
- Throws:
IOException
-
-