Hello,
in the first version of the lib it was possible to run an update by query with a script,
but can't find similar functionality in current version
fun <T : Any> IndexRepository<T>.updateByQuery(
esClient: RestHighLevelClient,
script: Script,
query: QueryBuilder,
) {
val index = this.indexName
val updateByQueryRequest = UpdateByQueryRequest(index)
updateByQueryRequest.script = script
updateByQueryRequest.setQuery(query)
esClient.updateByQuery(
updateByQueryRequest,
RequestOptions.DEFAULT,
)
}
Hello, in the first version of the lib it was possible to run an update by query with a script, but can't find similar functionality in current version