일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- License
- plugin
- Elasticsearch
- analyzer test
- Kafka
- TensorFlow
- sort
- Mac
- token filter test
- 차트
- licence delete curl
- aggregation
- zip 파일 암호화
- docker
- 900gle
- springboot
- aggs
- license delete
- Test
- API
- high level client
- 파이썬
- ELASTIC
- flask
- MySQL
- query
- zip 암호화
- matplotlib
- Java
- Python
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 |
Comments