...
|
...
|
@@ -44,6 +44,7 @@ public class ContentService extends BaseService { |
|
|
boolQuery.should(QueryBuilders.termQuery(ISearchConstans.CONTENT_TAG_IDS, tagId));
|
|
|
}
|
|
|
boolQuery.mustNot(QueryBuilders.termQuery(ISearchConstans.CONTENT_CID, request.getCid()));
|
|
|
boolQuery.must(QueryBuilders.termQuery(ISearchConstans.CONTENT_APP, request.getApp()));
|
|
|
// 构造query
|
|
|
searchParam.setQuery(boolQuery);
|
|
|
return searchCommonService.doSearch(CONTENT_INDEX_NAME, searchParam);
|
...
|
...
|
|