Class Lucene46SegmentInfoReader

    • Constructor Detail

      • Lucene46SegmentInfoReader

        public Lucene46SegmentInfoReader()
        Sole constructor.
    • Method Detail

      • read

        public SegmentInfo read​(Directory dir,
                                java.lang.String segment,
                                IOContext context)
                         throws java.io.IOException
        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