public function whereMultiMatch(string $query, array $fields, $fuzziness = "auto")
    {
        $param = [
            "multi_match" => [
                "query" => $query,
                "fields" => $fields,
                "fuzziness" => $fuzziness
            ]
        ];
        $this->elasticQuery[] = $param;
        return $this;
    }
public function whereMultiMatch(string $query, array $fields, $fuzziness = "auto")
    {
        $param = [
            "multi_match" => [
                "query" => $query,
                "fields" => $fields,
                "fuzziness" => $fuzziness
            ]
        ];
        $this->elasticQuery[] = $param;
        return $this;
    }
public function whereMultiMatch ( string $ query , array $ fields , $ fuzziness = "auto" ) { $ param = [ "multi_match" => [ "query" => $ query , "fields" => $ fields , "fuzziness" => $ fuzziness ] ] ; $ this -> elasticQuery [ ] = $ param ; return $ this ; }
Multi match, match query in multiple fields

@param  string $query
@param  array  $fields
@param  string $fuzziness
@return $this
Multi match match query in multiple fields