Class FilterLeafReader.FilterFields

    • Field Detail

      • in

        protected final Fields in
        The underlying Fields instance.
    • Constructor Detail

      • FilterFields

        protected FilterFields​(Fields in)
        Creates a new FilterFields.
        Parameters:
        in - the underlying Fields instance.
    • Method Detail

      • size

        public int size()
        Description copied from class: Fields
        Returns the number of fields or -1 if the number of distinct field names is unknown. If >= 0, Fields.iterator() will return as many field names.
        Specified by:
        size in class Fields