I am using PHP elastic api (https://github.com/elastic/app-search-php)
I passed the filter param like below.
$searchParams = [
'page' => ['current' => $current, 'size' => 10] ,
'all' => [
"search_type" => ["company"],
"company_type" => ["Distributor","Music Publisher"]
I am getting error " error : Uncaught Elastic\OpenApi\Codegen\Exception\BadRequestException: Filters contains an invalid set of keys for object inside of field: all; can only have clauses or a single field name.
Could you please help.