You are currently browsing legacy 4.1 version of documentation. Click here to switch to the newest 4.2 version.

We can help you with migration to the latest RavenDB

Contact Us Now
see on GitHub

Operations: How to Reset ETL

ETL is processing documents from the point where the last batch finished. To start the processing from the very beginning you can reset the ETL by using ResetEtlOperation.

Syntax

public ResetEtlOperation(String configurationName, String transformationName);

Parameters
configurationName String ETL configuration name
transformationName String Name of ETL transformation

Example

ResetEtlOperation resetEtlOperation = new ResetEtlOperation("OrdersExport", "script1");
store.maintenance().send(resetEtlOperation);