ElasticSearch match query multiple terms PHP
You need to add an additional array to enclose all your terms
queries
$params = ['body' => [ 'query' => [ "bool" => [ "must" => [ [ "terms" => [ "categories" => [ "Seating", ], ] ], [ "terms" => [ "attributes.Color" => [ "Black", ], ] ] ], "filter" => [ "range" => [ "price" => [ "gte" => 39, "lte" => 2999, ], ], ], ], ], 'from' => 0, 'size' => 3,],];