REF (한글개념) REF(영문 aggregation)
Elastic에서 복잡한 검색은 mongoDB에서처럼 aggregation이란 용어를 사용해서 수행한다.
- Metric Aggregation: 산술식
: script Aggregation: map & reduce방식으로 script를 이용해 동작할 수 있다. ref
: Cardinality Aggregation: distinct count 느낌. ref (cardinal=기수, 즉 1234에서 10진수 기수는 4개)
- Bucket Aggregation: 그루핑
: filter Aggregation: group by느낌이고 where절을 filter에서 거는 느낌으로 사용한다. ref
- Matrix : 멀티Field. 단, scripting은 미지원.
- Pipeline : aggregation + aggregation