gerrit index project - Index all the changes in one or more projects.
ssh -p <port> <host> gerrit index project <PROJECT> [<PROJECT> …]
Index all the changes in one or more projects.
Caller must have the Maintain Server capability.
This command is intended to be used in scripts.
Index all changes in projects MyProject and NiceProject.
$ ssh -p 29418 user@review.example.com gerrit index project MyProject NiceProject
Part of Gerrit Code Review