Class Lucene40TermVectorsReader

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, java.lang.Cloneable

    public class Lucene40TermVectorsReader
    extends TermVectorsReader
    implements java.io.Closeable
    Lucene 4.0 Term Vectors reader.

    It reads .tvd, .tvf, and .tvx files.

    See Also:
    Lucene40TermVectorsFormat
    • Constructor Detail

      • Lucene40TermVectorsReader

        public Lucene40TermVectorsReader​(Directory d,
                                         SegmentInfo si,
                                         FieldInfos fieldInfos,
                                         IOContext context)
                                  throws java.io.IOException
        Sole constructor.
        Throws:
        java.io.IOException
    • Method Detail

      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException