org.apache.lucene.codecs
Class TermVectorsFormat
java.lang.Object
org.apache.lucene.codecs.TermVectorsFormat
- Direct Known Subclasses:
- Lucene40TermVectorsFormat, SimpleTextTermVectorsFormat
public abstract class TermVectorsFormat
- extends Object
Controls the format of term vectors
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TermVectorsFormat
public TermVectorsFormat()
vectorsReader
public abstract TermVectorsReader vectorsReader(Directory directory,
SegmentInfo segmentInfo,
FieldInfos fieldInfos,
IOContext context)
throws IOException
- Returns a
TermVectorsReader
to read term
vectors.
- Throws:
IOException
vectorsWriter
public abstract TermVectorsWriter vectorsWriter(Directory directory,
SegmentInfo segmentInfo,
IOContext context)
throws IOException
- Returns a
TermVectorsWriter
to write term
vectors.
- Throws:
IOException
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.