Updating elasticsearch entities with bulk
问题 I have this database data as below (ES 7.xx) version { "id":"1234", "expirationDate":"17343234234", "paths":"http:localhost:9090", "work":"software dev", "family":{ "baba":"jams", "mother":"ela" } }, { "id":"00021", "expirationDate":"0123234", "paths":"http:localhost:8080", "work":"software engi", "family":{ "baba":"stev", "mother":"hela" } } how can i update the entity which its expirationDate smaller than current Time? to be the current time for example: the id 00021 is expired because its