Update Indexer Configuration

URL:
https://<indexer-url>/update
Methods:
POST
Required Capability:
Administrator
Version Introduced:
10.2.1

Description

You can use this operation to change the connection information for the indexing service. By default, Portal for ArcGIS runs an indexing service that runs on port 7199. If you want the sharing API to refer to the indexing service on another instance, you need to provide the host and port parameters.

Request parameters

ParameterDetails

indexerHost

The name of the server (hostname) on which the index service runs. The default value is localhost .

Example

1
indexerHost=somehost.domain.com

indexerPort

The port number on which the index service is listening. The default value is 7199 .

Example

1
indexerPort=7199

f

The response format. The default response format is html .

Values: html | json | pjson

Example usage

Below is a sample request URL for update :

1
2
3
4
5
6
POST /webadaptor/portaladmin/system/indexer/update HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []

indexerHost=serverhost.domain.com&indexerPort=7199&f=json

JSON Response example

1
{"status": "success"}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close