@Override
    public SegmentMode mode() {
        return savedSegment != null ? savedSegment.info().mode() : null;
    }
Try load saved segment from local disk.
indexr-segment/src/main/java/io/indexr/segment/rt/RealtimeSegment.java