To index individual analyses with cURL, execute the following from your command line:
curl -X POST \http://localhost:11235/index/repository/`<repositoryCode>`/study/`<studyId>`/analysis/`<analysisId>` \-H 'Content-Type: application/json' \-H 'cache-control: no-cache' \
Where:
repositoryCode is the code representing the Song repository that the study belongs tostudyId is the ID of the study that the analysis belongs toanalysisId is the ID of the analysis you want to indexTo index a study using the Swagger UI:
Go to http://localhost:11235/maestro/api-docs
Under management-controller, select the POST /index/repository/{repositoryCode}/study/{studyId}/analysis/{analysisId} endpoint.
Click Try it out.
Enter your analysisId, studyId, and repositoryCode.
Click Execute.
If successful the command line or Swagger will indicate the analysis has been indexed:
[{"indexName": "file_centric_1","failureData": {"failingIds": {}},"successful": true}]