| $id | The id by which the index will be known and distinguished from other indexes on the same nodes. |
| $nodes | The node set to be indexed. |
| $values | The values to be indexed. There should be one value for each node in $nodes. $values thus needs to contain as many items as $nodes. If not, a dynamic error is triggered. |
| $options | <options order='ascending|descending' empty='least|greatest'/> |
| $id | The id by which the index will be known and distinguished from other indexes on the same nodes. |
| $nodes | The node set to be indexed. |
| $callback | A callback function which will be called for every node in the $nodes input set. The function receives the current node as single argument and should return an atomic value by which the node will be sorted. |
| $options | <options order='ascending|descending' empty='least|greatest'/> |
| $id | The name of the index. |
| $id | The name of the index. |
| $node | The node to look up. |
| $id | The name of the index to be removed. |
| $id | The name of the index to be removed. |
| $document-node | A node from the document for which entries should be removed. |