org.apache.lucene.index

Class Fields

    • Constructor Detail

      • Fields

        protected Fields()
        Sole constructor. (For invocation by subclass constructors, typically implicit.)
    • Method Detail

      • size

        public abstract int size()
        Returns the number of fields or -1 if the number of distinct field names is unknown. If >= 0, iterator() will return as many field names.