Class SimpleTextTermVectorsFormat
java.lang.Object
org.apache.lucene.codecs.TermVectorsFormat
org.apache.lucene.codecs.simpletext.SimpleTextTermVectorsFormat
plain text term vectors 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 TypeMethodDescriptionvectorsReader
(Directory directory, SegmentInfo segmentInfo, FieldInfos fieldInfos, IOContext context) vectorsWriter
(Directory directory, SegmentInfo segmentInfo, IOContext context)
-
Constructor Details
-
SimpleTextTermVectorsFormat
public SimpleTextTermVectorsFormat()
-
-
Method Details
-
vectorsReader
public TermVectorsReader vectorsReader(Directory directory, SegmentInfo segmentInfo, FieldInfos fieldInfos, IOContext context) throws IOException - Specified by:
vectorsReader
in classTermVectorsFormat
- Throws:
IOException
-
vectorsWriter
public TermVectorsWriter vectorsWriter(Directory directory, SegmentInfo segmentInfo, IOContext context) throws IOException - Specified by:
vectorsWriter
in classTermVectorsFormat
- Throws:
IOException
-