API - Start waiting ingestion jobs now (ingest_run_now)

Data Ingestion

Starts writing your pending Data Ingestion jobs now, instead of waiting for their turn: one job, or every pending job of an index.

Endpointhttps://api.opensolr.com/solr_manager/api/ingest_run_now
MethodGET (parameters in the query string)
Authemail and api_key of your account, as GET or POST parameters: Authentication.

01 · Parameters

core_nameOptional

Every pending job of this index.

job_idOptional

This pending job only.

02 · Example

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

03 · Answer

{
    "status": true,
    "msg": "PROCESSING_TRIGGERED",
    "pending_jobs": 3
}

With no pending job, status is false and msg says so: only jobs in the pending state can run.

04 · Errors

ERROR_INVALID_CORE_NAMEHTTP 200

The index name has characters other than letters, digits and underscores.

ERROR_QUEUE_UNAVAILABLE_TRY_AGAINHTTP 200

The queue did not answer. Try again.

WRONG_API_HOSTHTTP 404

Called on opensolr.com. The answer carries the right URL.

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.