This commit is contained in:
parent
f150443d9a
commit
1ddc4c8fc6
|
@ -249,8 +249,7 @@ public class DataFrameTransformsConfigManager {
|
||||||
*/
|
*/
|
||||||
public void deleteTransform(String transformId, ActionListener<Boolean> listener) {
|
public void deleteTransform(String transformId, ActionListener<Boolean> listener) {
|
||||||
DeleteByQueryRequest request = new DeleteByQueryRequest()
|
DeleteByQueryRequest request = new DeleteByQueryRequest()
|
||||||
.setAbortOnVersionConflict(false) //since these documents are not updated, a conflict just means it was deleted previously
|
.setAbortOnVersionConflict(false); //since these documents are not updated, a conflict just means it was deleted previously
|
||||||
.setSlices(5);
|
|
||||||
|
|
||||||
request.indices(DataFrameInternalIndex.INDEX_NAME);
|
request.indices(DataFrameInternalIndex.INDEX_NAME);
|
||||||
QueryBuilder query = QueryBuilders.termQuery(DataFrameField.ID.getPreferredName(), transformId);
|
QueryBuilder query = QueryBuilders.termQuery(DataFrameField.ID.getPreferredName(), transformId);
|
||||||
|
|
Loading…
Reference in New Issue