본문 바로가기

공부방/Elasticsearch

test

 

 

 

BoolQueryBuilder builder = boolQuery();
if (StringUtils.isNotEmpty(coolineSubscriberVM.getReceiverSubServiceType())) {
    builder.must(matchQuery(CoolineStreamSubscriberForSearchField.SUB_SERVICE_TYPE, coolineSubscriberVM.getReceiverSubServiceType()));
}

 

 

query.filter(hasChildQuery(CoolineStreamForSearchField.COOLRECEIVER,
    builder,
    ScoreMode.None
).innerHit(innerHit));

'공부방 > Elasticsearch' 카테고리의 다른 글

ghj  (0) 2023.05.03
Prometheus + Grafana  (0) 2023.05.02
elastic search manual  (0) 2022.08.22
elasticsearch - 질의(QueryDSL)  (0) 2022.07.13
elastic search - 검색  (0) 2022.07.12