Class Lucene40SegmentInfoReader

    • Constructor Detail

      • Lucene40SegmentInfoReader

        public Lucene40SegmentInfoReader()
        Deprecated.
        Sole constructor.
    • Method Detail

      • read

        public SegmentInfo read​(Directory dir,
                                java.lang.String segment,
                                IOContext context)
                         throws java.io.IOException
        Deprecated.
        Description copied from class: SegmentInfoReader
        Read SegmentInfo data from a directory.
        Specified by:
        read in class SegmentInfoReader
        Parameters:
        dir - directory to read from
        segment - name of the segment to read
        Returns:
        infos instance to be populated with data
        Throws:
        java.io.IOException - If an I/O error occurs