Class LiveDocsFormat

  • Direct Known Subclasses:
    Lucene40LiveDocsFormat

    public abstract class LiveDocsFormat
    extends java.lang.Object
    Format for live/deleted documents
    • Method Detail

      • newLiveDocs

        public abstract MutableBits newLiveDocs​(int size)
                                         throws java.io.IOException
        Creates a new MutableBits, with all bits set, for the specified size.
        Throws:
        java.io.IOException
      • newLiveDocs

        public abstract MutableBits newLiveDocs​(Bits existing)
                                         throws java.io.IOException
        Creates a new mutablebits of the same bits set and size of existing.
        Throws:
        java.io.IOException
      • files

        public abstract void files​(SegmentCommitInfo info,
                                   java.util.Collection<java.lang.String> files)
                            throws java.io.IOException
        Records all files in use by this SegmentCommitInfo into the files argument.
        Throws:
        java.io.IOException