Class FieldExistsQuery

    • Constructor Detail

      • FieldExistsQuery

        public FieldExistsQuery​(String fieldName,
                                boolean isNegate)
        Creates a SearchQuery which finds documents that do not contain a specific field. Can be negated.
        Parameters:
        fieldName - the name of the field which must exist on the found documents.
        isNegate - negates the query iff true. Negation will find documents that do not contain a specific field.
      • FieldExistsQuery

        public FieldExistsQuery​(String fieldName)