elasticsearch关键词查询不分词
摘要:$query = [ 'bool' => [ 'must' => [ 'match_phrase' => ['content' => $word] //$word词不被分词 ], 'must_not' => [ 'terms' => ['fid'=>[69, 70]], //添加not in ...
阅读全文
posted @ 2018-06-04 20:26
posted @ 2018-06-04 20:26
posted @ 2018-03-20 10:04
posted @ 2018-03-12 18:20
posted @ 2018-03-06 10:32
posted @ 2018-03-06 10:15
posted @ 2018-01-29 16:59