Class Lucene3xSegmentInfoReader


  • @Deprecated
    public class Lucene3xSegmentInfoReader
    extends SegmentInfoReader
    Deprecated.
    Only for reading existing 3.x indexes
    Lucene 3x implementation of SegmentInfoReader.
    • Constructor Detail

      • Lucene3xSegmentInfoReader

        public Lucene3xSegmentInfoReader()
        Deprecated.
    • Method Detail

      • readLegacyInfos

        public static void readLegacyInfos​(SegmentInfos infos,
                                           Directory directory,
                                           IndexInput input,
                                           int format)
                                    throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException
      • read

        public SegmentInfo read​(Directory directory,
                                java.lang.String segmentName,
                                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:
        directory - directory to read from
        segmentName - name of the segment to read
        Returns:
        infos instance to be populated with data
        Throws:
        java.io.IOException - If an I/O error occurs