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