public function whereTerm(string $field, $term)
    {
        $param = [
            "term" => [
                $field => $term
            ]
        ];

        $this->elasticQuery[] = $param;
        return $this;
    }
public function whereTerm(string $field, $term)
    {
        $param = [
            "term" => [
                $field => $term
            ]
        ];

        $this->elasticQuery[] = $param;
        return $this;
    }
public function whereTerm ( string $ field , $ term ) { $ param = [ "term" => [ $ field => $ term ] ] ; $ this -> elasticQuery [ ] = $ param ; return $ this ; }
Where field uses single term

@param  string $field
@param  $term
@return $this
Where field uses single term