Commit ddf767c6 by 吴博

bug:[none]fixbook

parent ce11193e
...@@ -454,7 +454,7 @@ public class ESBookAndAdviserBizImpl implements ESBookAndAdviserBiz { ...@@ -454,7 +454,7 @@ public class ESBookAndAdviserBizImpl implements ESBookAndAdviserBiz {
bookIds = Lists.newArrayList(5920573L,5934953L,5920574L,5934954L); bookIds = Lists.newArrayList(5920573L,5934953L,5920574L,5934954L);
JedisClusterUtils.setJsonList(ignorBookKey,bookIds,3600 * 24); JedisClusterUtils.setJsonList(ignorBookKey,bookIds,3600 * 24);
} }
BoolQueryBuilder mustNot = QueryBuilders.boolQuery().mustNot(QueryBuilders.termsQuery("id", bookIds)); BoolQueryBuilder mustNot = QueryBuilders.boolQuery().mustNot(QueryBuilders.termsQuery("bookId", bookIds));
return mustNot; return mustNot;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment