You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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,
)
}
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: