You can trigger an asynchronous re-indexing of a local Swift repository either through the UI or using the REST API.
This will also reindex the git index and, as a result, will also index the remote repositories.
In the Artifact Tree Browser, select your Swift repository, right-click and select Recalculate Index from the list. Requires Admin privileges.
To reindex a Swift repository through the REST API refer to the following REST API: Calculate Swift Index