lib/Elastica/Query/Match.php
public function setFieldZeroTermsQuery(string $field, string $zeroTermQuery = self::ZERO_TERM_NONE): self
    {
        return $this->setFieldParam($field, 'zero_terms_query', $zeroTermQuery);
    }
public function setFieldZeroTermsQuery(string $field, string $zeroTermQuery = self::ZERO_TERM_NONE): self
    {
        return $this->setFieldParam($field, 'zero_terms_query', $zeroTermQuery);
    }
public function setFieldZeroTermsQuery ( string $ field , string $ zeroTermQuery = self :: ZERO_TERM_NONE ) : self { return $ this -> setFieldParam ( $ field , 'zero_terms_query' , $ zeroTermQuery ) ; }
Set zero terms query.

If not set, default to 'none'

@param string $field
@param string $zeroTermQuery

@return $this
Set zero terms query .