API - Reload index

Index Management

Reloads your Opensolr Index: Solr reads its configuration files again, without a restart and without losing data.

Endpointhttps://opensolr.com/solr_manager/api/reload_core
MethodGET
Authemail and api_key of your account, as GET or POST parameters: Authentication.
In the panelReload

01 · Parameters

core_nameRequired

The name of your index.

02 · Example

curl -s "https://opensolr.com/solr_manager/api/reload_core?email=YOUR_EMAIL&api_key=YOUR_API_KEY&core_name=my_index"

03 · Answer

{
    "status": true,
    "msg": "CORE RELOAD OK"
}

When Solr cannot load the configuration, msg starts with ERROR: and carries the error of Solr. Uploading files with upload_config_file or upload_zip_config_files reloads the index by itself.

04 · Errors

ERROR_NOT_CORE_OWNERHTTP 200

The index is not yours.

ERROR_AUTHENTICATION_FAILEDHTTP 403

The email and API key do not match.

ERROR_RATE_LIMIT_PER_MINUTEHTTP 429

Too many calls. Wait for the Retry-After seconds: Rate limits.

05 · Related

Every error code and HTTP status of the API: API errors. Calls per minute and per hour: Rate limits.