You are currently browsing legacy 3.0 version of documentation. Click here to switch to the newest 5.1 version.
Documents: Patch View
Action bar contains the following buttons:
Patch type selector(single document, collection, or index),
Test- you can test your patch here, without modifying actual data,
Save- patch script can be saved to use this action later,
Load- saved patch scripts can be loaded using this action,
Patch- execute patch on actual data
After specifying patch type, we need to do one of the following:
- select a document to patch by typing its key,
- select a collection that we want to patch,
- select an index and type a query that we want to use for patching
After doing that, we need to type our script (examples of scripts can be found here) with parameters (if needed) and click on
Patch button to apply it.
If you want to test your patch before applying it to real data, you can test it by pressing the
Test button. This will fill up
After Patch section with patched data and list what documents were put (
PutDocument) or loaded (
LoadDocument) using your script.
Each patch can be saved using the
Save action from
Action Bar for further use (you need to type its name). To load it just press the
Load button from the
Action Bar and select desired patch.