Class AssertingTermVectorsFormat
java.lang.Object
org.apache.lucene.codecs.TermVectorsFormat
org.apache.lucene.tests.codecs.asserting.AssertingTermVectorsFormat
Just like the default vectors format but with additional asserts.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvectorsReader(Directory directory, SegmentInfo segmentInfo, FieldInfos fieldInfos, IOContext context) vectorsWriter(Directory directory, SegmentInfo segmentInfo, IOContext context)
-
Constructor Details
-
AssertingTermVectorsFormat
public AssertingTermVectorsFormat()
-
-
Method Details
-
vectorsReader
public TermVectorsReader vectorsReader(Directory directory, SegmentInfo segmentInfo, FieldInfos fieldInfos, IOContext context) throws IOException - Specified by:
vectorsReaderin classTermVectorsFormat- Throws:
IOException
-
vectorsWriter
public TermVectorsWriter vectorsWriter(Directory directory, SegmentInfo segmentInfo, IOContext context) throws IOException - Specified by:
vectorsWriterin classTermVectorsFormat- Throws:
IOException
-