Package org.apache.lucene.codecs
Class TermVectorsFormat
- java.lang.Object
-
- org.apache.lucene.codecs.TermVectorsFormat
-
- Direct Known Subclasses:
CompressingTermVectorsFormat
,Lucene40TermVectorsFormat
public abstract class TermVectorsFormat extends java.lang.Object
Controls the format of term vectors
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract TermVectorsReader
vectorsReader(Directory directory, SegmentInfo segmentInfo, FieldInfos fieldInfos, IOContext context)
Returns aTermVectorsReader
to read term vectors.abstract TermVectorsWriter
vectorsWriter(Directory directory, SegmentInfo segmentInfo, IOContext context)
Returns aTermVectorsWriter
to write term vectors.
-
-
-
Method Detail
-
vectorsReader
public abstract TermVectorsReader vectorsReader(Directory directory, SegmentInfo segmentInfo, FieldInfos fieldInfos, IOContext context) throws java.io.IOException
Returns aTermVectorsReader
to read term vectors.- Throws:
java.io.IOException
-
vectorsWriter
public abstract TermVectorsWriter vectorsWriter(Directory directory, SegmentInfo segmentInfo, IOContext context) throws java.io.IOException
Returns aTermVectorsWriter
to write term vectors.- Throws:
java.io.IOException
-
-