일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
Tags
- aggregation
- Python
- matplotlib
- 차트
- query
- analyzer test
- high level client
- token filter test
- TensorFlow
- springboot
- license delete
- API
- Kafka
- zip 파일 암호화
- flask
- docker
- 900gle
- Elasticsearch
- plugin
- Java
- 파이썬
- licence delete curl
- Mac
- Test
- MySQL
- ELASTIC
- License
- zip 암호화
- aggs
- sort
Archives
- Today
- Total
개발잡부
[es] _update_by_query 본문
반응형
POST hyper-item-aggs-nested/_update_by_query?wait_for_completion=false
{
"script": {
"source": "ctx._source.filterInfo.benefit = ['BASIC','FREE']"
},
"query": {
"term": {
"itemStoreInfo.dcType": {
"value": "DEFAULT_PRICE"
}
}
}
}
POST hyper-item-aggs-array/_update_by_query?wait_for_completion=false
{
"script": {
"source": "ctx._source.filterInfo.benefit = ['BASIC','FREE']"
},
"query": {
"term": {
"itemStoreInfo.dcType": {
"value": "DEFAULT_PRICE"
}
}
}
}
반응형
'ElasticStack > Elasticsearch' 카테고리의 다른 글
[es] sort - payload sort 3 (0) | 2022.08.11 |
---|---|
[es] aggregation test 4 (0) | 2022.07.20 |
[es] aggregation test 3 (0) | 2022.07.19 |
[es] aggregation test 2 (0) | 2022.07.17 |
[es] nested aggregation (0) | 2022.07.16 |