Class SimpleTextFieldInfosFormat
java.lang.Object
org.apache.lucene.codecs.FieldInfosFormat
org.apache.lucene.codecs.simpletext.SimpleTextFieldInfosFormat
plaintext field infos format
FOR RECREATIONAL USE ONLY
- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondistanceFunction
(String scoreFunction) docValuesType
(String dvType) read
(Directory directory, SegmentInfo segmentInfo, String segmentSuffix, IOContext iocontext) void
write
(Directory directory, SegmentInfo segmentInfo, String segmentSuffix, FieldInfos infos, IOContext context)
-
Constructor Details
-
SimpleTextFieldInfosFormat
public SimpleTextFieldInfosFormat()
-
-
Method Details
-
read
public FieldInfos read(Directory directory, SegmentInfo segmentInfo, String segmentSuffix, IOContext iocontext) throws IOException - Specified by:
read
in classFieldInfosFormat
- Throws:
IOException
-
docValuesType
-
distanceFunction
-
write
public void write(Directory directory, SegmentInfo segmentInfo, String segmentSuffix, FieldInfos infos, IOContext context) throws IOException - Specified by:
write
in classFieldInfosFormat
- Throws:
IOException
-