@ -308,7 +308,8 @@ class Client
// 'match_phrase' => [$filed => $value]
// ];
$orlike[] = [
'match' => [$filed => ['query' => $value, 'fuzziness' => "AUTO", 'operator' => 'or']]
'match' => [$filed => ['query' => $value, 'operator' => 'or']]
//'match' => [$filed => ['query' => $value, 'fuzziness' => "AUTO", 'operator' => 'or']]
];
}
@ -86,7 +86,7 @@ class GoodsCateEs
$model = new Goods;
$goods_ids = array_column($data['data'], "goods_id");
$goods_list = array_column($data['data'], null, "goods_id");
// var_dump($goods_ids);
// var_dump($data['data']);
// exit();
//$list = $model->getListByIds($goods_ids, 10);
$list = $model->getListByIdsFromApi($goods_ids);