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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondistanceFunction(String scoreFunction) docValuesSkipIndexType(String dvSkipIndexType) docValuesType(String dvType) read(Directory directory, SegmentInfo segmentInfo, String segmentSuffix, IOContext iocontext) vectorEncoding(String vectorEncoding) voidwrite(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:
readin classFieldInfosFormat- Throws:
IOException
-
docValuesType
-
docValuesSkipIndexType
-
vectorEncoding
-
distanceFunction
-
write
public void write(Directory directory, SegmentInfo segmentInfo, String segmentSuffix, FieldInfos infos, IOContext context) throws IOException - Specified by:
writein classFieldInfosFormat- Throws:
IOException
-