- URL:https://<indexer-url>/reindex(POST only)
- Required Capability:Default administrator role | Security and infrastructure privilege
- Version Introduced:10.2.1
This operation allows you to generate or update the indexes for content; such as users, groups, and items stored in the database store. During the process of upgrading an earlier version of Portal for ArcGIS, you are required to update the indexes by running this operation. You can check the status of your indexes using the status resource.
The reindex operation may take a while to finish. During this time, the index service may not respond correctly to index queries.
Portal content and search operations will be unavailable until the reindex is complete. Performing the reindex operation during system maintenance or downtime is recommended.
The mode in which the indexer should run.
Values: USER_MODE | GROUP_MODE | SEARCH_MODE | FULL_MODE
A comma separated list of elements to include in the index. This is useful if you want to only index certain items or user accounts.
The response format. The default value is html.
Values: html | json | pjson
Below is a sample POST request for reindex:
POST /webadaptor/portaladmin/system/indexer/reindex HTTP/1.1 Host: machine.domain.com Content-Type: application/x-www-form-urlencoded Content-Length:  mode=FULL_MODE&includes=&f=json
JSON Response example