This will reindex the content in the search indices for the given repository and branches.

-?, --help

Displays a detailed help message.

-u <user:password>

The user / password combination for export resource. Requires role ADMIN_LOGIN_ID.

-h <hostname>

The hostname of the Enonic XP instance. Defaults to localhost.

-p <port>

The http port of the Enonic XP instance. Defaults to 8080.

-r <repo-id>

The repository to reindex.

-b <branches>

A comma-separated list of the branches to reindex.


If flag -i is given, the indices will be deleted before being recreated.


Apply pretty print of the snapshot output result. This requires that Python is installed on your system.


$ ./ -u su:password -r cms-repo -b draft,master -n