Open topic with navigation

# IndexerGetStatus Example

An `IndexerGetStatus` action is sent to IDOL Server following a `DREADD` index action. IDOL Server returns the following output:

    <autnresponse>
    <action>INDEXERGETSTATUS</action>
    <response>SUCCESS</response>
    <responsedata>
    <timeformat>YYYY/MM/DD HH:NN:SS</timeformat>
    <state>Inactive (no jobs)</state>
    <item>
        <id>1</id>
        <origin_ip>127.0.0.1</origin_ip>
        <received_time>2015/03/31 16:14:43</received_time>
        <start_time>2015/03/31 16:14:44</start_time>
        <end_time>2015/03/31 16:16:44</end_time>
        <duration_secs>120</duration_secs>
        <percentage_processed>100</percentage_processed>
        <documents_processed>44710</documents_processed>
        <documents_deleted>0</documents_deleted>
        <status>-1</status>
        <description>Finished</description>
        <docidrange>1-44710</docidrange>
        <index_command>
        /DREADD?myfile.idx&KILLDUPLICATES=REFERENCE&DREDBNAME=Archive
        </index_command>
    </item>
    </responsedata>
    </autnresponse>

where:

Tag Name | Description
--- | ---
`<timeformat>` | The time and date format that the response uses.
`<state>` | The status of the Content component indexing thread.
`<id>` | The ID number of the index action.
`<origin_ip>` | The IP address of the machine that sent the index action to IDOL Server.
`<received_time>` | The time that IDOL Server received the action.
`<start_time>` | The time that IDOL Server started processing the index action.
`<end_time>` | The time that IDOL Server finished processing the index action.
`<duration_secs>` | The total amount of time in seconds that IDOL spent processing the index action.
`<documents_processed>` | The number of documents that IDOL Server processed during the indexing job.
`<documents_deleted>` | The number of documents deleted during the indexing process.
`<status>` | The status code of the current status of the index action in the IDOL Server index queue.
`<description>` | The description of the `<status>` number.
`<docidrange>` | The range of `DocIDs` of documents that were processed during the index job.
`<index_command>` | The index action for the index job.

For the `DRECOMPACT` index action, `IndexerGetStatus` also returns a `<drecompact_status>` section to show the time that each stage of the compaction takes. This section contains `<stage>` tags, with the following attributes.

`name` | The name of the compaction stage.
`description` | The description of the compaction stage.
`percentage_complete` | The percentage of the compaction stage that is complete.
`time_seconds` | The time that the compaction stage has taken.
`paused` | If you pause the `DRECOMPACT` index action, this attribute is set to `True` for the paused stage.

The Content component returns the following status messages in the `<state>` tag to show whether it is currently processing jobs, or if it is paused:

Running
Paused
Paused (DREFLUSHANDPAUSE)
Paused (out of disk space)
Paused (waiting for flush lock)
Inactive (no jobs)

Related Topics

- IndexerGetStatus Status Codes

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close We welcome your comments! To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm