public class AssertingTermVectorsFormat extends TermVectorsFormat
Lucene40TermVectorsFormat but with additional asserts.| Constructor and Description |
|---|
AssertingTermVectorsFormat() |
| Modifier and Type | Method and Description |
|---|---|
TermVectorsReader |
vectorsReader(Directory directory,
SegmentInfo segmentInfo,
FieldInfos fieldInfos,
IOContext context)
Returns a
TermVectorsReader to read term
vectors. |
TermVectorsWriter |
vectorsWriter(Directory directory,
SegmentInfo segmentInfo,
IOContext context)
Returns a
TermVectorsWriter to write term
vectors. |
public TermVectorsReader vectorsReader(Directory directory, SegmentInfo segmentInfo, FieldInfos fieldInfos, IOContext context) throws IOException
TermVectorsFormatTermVectorsReader to read term
vectors.vectorsReader in class TermVectorsFormatIOExceptionpublic TermVectorsWriter vectorsWriter(Directory directory, SegmentInfo segmentInfo, IOContext context) throws IOException
TermVectorsFormatTermVectorsWriter to write term
vectors.vectorsWriter in class TermVectorsFormatIOExceptionCopyright © 2000–2021 The Apache Software Foundation. All rights reserved.