일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
Tags
- Kafka
- ELASTIC
- API
- Test
- 차트
- aggregation
- zip 파일 암호화
- analyzer test
- License
- springboot
- matplotlib
- Java
- docker
- token filter test
- high level client
- 900gle
- zip 암호화
- flask
- Python
- aggs
- Elasticsearch
- licence delete curl
- plugin
- license delete
- sort
- TensorFlow
- query
- Mac
- MySQL
- 파이썬
Archives
- Today
- Total
개발잡부
Aggs cardinality 본문
반응형
GET home-search-query-log/_search
{
"size": 1,
"query": {
"bool": {
"filter": [
{
"range": {
"query_log.created_date_time": {
"gte": "2023-10-29T22:40:00",
"lt": "2023-10-29T22:45:00"
}
}
},
{
"term": {
"query_log.result_count": 0
}
}
]
}
},
"aggs": {
"cardinality": {
"cardinality": {
"field": "query_log.input_query.keyword"
}
}
},
"track_total_hits": true
}
{
"took" : 18,
"timed_out" : false,
"_shards" : {
"total" : 88,
"successful" : 88,
"skipped" : 0,
"failed" : 0
},
"hits" : {
"total" : {
"value" : 232,
"relation" : "eq"
},
"max_score" : null,
"hits" : [ ]
},
"aggregations" : {
"cardinality" : {
"value" : 173
}
}
}
반응형
'ElasticStack > Elasticsearch' 카테고리의 다른 글
[es] Elasticsearch Cache (2) | 2023.11.24 |
---|---|
[es] aggs sort & cadinality (0) | 2023.11.17 |
[es] elasticsearch cache 모니터링 (query_cache, request_cache) (0) | 2023.09.25 |
[es] file system cache 를 이용한.. (2) | 2023.09.25 |
[es] Warm up global ordinals (0) | 2023.09.25 |
Comments