Skip To Content
ArcGIS Developers
Dashboard

Reindex

Description

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.

Note:

The reindex operation may take a while to finish. During this time, the index service may not respond correctly to index queries.

Caution:

Portal content and search operations will be unavailable until the reindex is complete. Performing the reindex operation during system maintenance or downtime is recommended.

Request parameters

ParameterDetails
mode

The mode in which the indexer should run.

Values: USER_MODE | GROUP_MODE | SEARCH_MODE | FULL_MODE

includes

(Optional)

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.

f

The response format. The default value is html.

Values: html | json | pjson

Example usage

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

{"status": "success"}