Class FilterDirectoryReader.SubReaderWrapper

    • Constructor Detail

      • SubReaderWrapper

        public SubReaderWrapper()
        Constructor
    • Method Detail

      • wrap

        protected LeafReader[] wrap​(java.util.List<? extends LeafReader> readers)
        Wraps a list of LeafReaders
        Returns:
        an array of wrapped LeafReaders. The returned array might contain less elements compared to the given reader list if an entire reader is filtered out.
      • wrap

        public abstract LeafReader wrap​(LeafReader reader)
        Wrap one of the parent DirectoryReader's subreaders
        Parameters:
        reader - the subreader to wrap
        Returns:
        a wrapped/filtered LeafReader