标签:bsp TE 关键词 search ast bool elastic sea arch
$query = [
‘bool‘ => [
‘must‘ => [
‘match_phrase‘ => [‘content‘ => $word] //$word词不被分词
],
‘must_not‘ => [
‘terms‘ => [‘fid‘=>[69, 70]], //添加not in 过滤条件
],
],
];
标签:bsp TE 关键词 search ast bool elastic sea arch
原文地址:https://www.cnblogs.com/dongruiha/p/9135275.html