|
@@ -92,7 +92,7 @@ public class EsLogic {
|
|
|
must.must(QueryBuilders.matchPhraseQuery("workerNumber", workerNumber));
|
|
|
}
|
|
|
if(CollectionUtils.isNotEmpty(websitNumbers)){
|
|
|
- must.must(QueryBuilders.termsQuery("websitNumber.keyword",websitNumbers));
|
|
|
+ must.filter(QueryBuilders.termsQuery("websitNumber",websitNumbers));
|
|
|
}
|
|
|
NativeSearchQuery titleBuild = new NativeSearchQueryBuilder().withQuery(titleQueryBuilder).build();
|
|
|
NativeSearchQuery dataBuild = new NativeSearchQueryBuilder()
|