Class NumDocs

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable

    public final class NumDocs
    extends FieldExpression
    FieldExpression that returns the number of indexed documents.

    NOTE: the number of docs returned will include deleted documents that have not been purged yet.

    See Also:
    Serialized Form
    • Constructor Detail

      • NumDocs

        public NumDocs()
    • Method Detail

      • hasChildren

        public boolean hasChildren()
        Returns true if this field expression has any sub FieldExpressions.
        Specified by:
        hasChildren in class FieldExpression
      • isConstant

        public boolean isConstant()
        Returns true if this field expression evaluates to a constant value.
        Specified by:
        isConstant in class FieldExpression
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object