MarkLogic 9 Product Documentation
IteratePlan functions (IteratePlan Object)

The following prototype methods are used to execute the plan or export it for use by the op.import function.

3 functions
Function name Description
IteratePlan.prototype.explain This method returns a representation of the builtin execution plan.
IteratePlan.prototype.export This method generates a serialized representation of the Optic query to JSON so that it can be persisted as a file or used as a REST payload.
IteratePlan.prototype.result This method executes the plan (mapping or reducing, if specified) to generate the result, which is a plan, document plan, prepared plan, or map or reduce result plan.
Powered by MarkLogic Server | Terms of Use | Privacy Policy