public function whereTerms(string $field, array $query)
    {
        $param = [
            "terms" => [
                $field => $query
            ]
        ];

        $this->elasticQuery[] = $param;
        return $this;
    }
public function whereTerms(string $field, array $query)
    {
        $param = [
            "terms" => [
                $field => $query
            ]
        ];

        $this->elasticQuery[] = $param;
        return $this;
    }
public function whereTerms ( string $ field , array $ query ) { $ param = [ "terms" => [ $ field => $ query ] ] ; $ this -> elasticQuery [ ] = $ param ; return $ this ; }
Where field uses multiple terms

@param  string $field
@param  array  $query
@return $this
Where field uses multiple terms