void triggerIndexingJob()

The triggerIndexingJob method can be used to trigger the indexing job.

Important: In V6R2014 and higher versions, the triggerIndexingJob() method may commit an indexing job if a document analysis has been started. Unlike, the sync() method, this method does not block the PAPI.

This page discusses:

HTTP parameter

The parameter is described in the table below.

Parameter

Location

Description

PAPI_session

[URL]

The optional parameter that retrieves the session given by a previous call to get_current_session_id

Action: if there is a session mismatch, the Push API server refuses the command and returns an exception.

HTTP method

The method used is:

POST http://<host>:<port>/papi/4/connectors/<connectorName>/trigger_indexing_job