Update Indexer Configuration
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.
This operation is not applicable to versions 10.5 and later.
This operation will automatically restart your portal.
The name of the server (hostname) on which the index service runs. The default value is localhost.
The port number on which the index service is listening. The default value is 7199.
The response format. The default response format is html.
Values: html | json
https://webadaptor.domain.com/arcgis/portaladmin/system/indexer/update indexerHost=somehost.domain.dom indexerPort=7199