getSearchIndexingStatus

get

/ccadmin/v1/search/index

Get Search Indexing Status. Get the search indexing status. Includes information about the current indexing job, queued indexing job, and search history.

Request

Supported Media Types
  • application/json
Query Parameters
historyEndingIndex
Type: boolean
The ending index of history items to include.
historyStartingIndex
Type: boolean
The starting index of history items to include.

Response

Supported Media Types
  • application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : getSearchIndexingStatus_response
Nested Schema : baselineSchedule
Type: object
Scheduled baseline information.
Nested Schema : historyItems
Type: object
Repository items representing the indexing job history.
Nested Schema : indexingJob
Type: object
The overall state information of indexing job.
Nested Schema : indexingJobQueue
Type: object
The array of queued jobs.
Nested Schema : phases
Type: array
An indexing job is made up of indexing phases, which in turn create indexing tasks.
Nested Schema : items
Type: object
Nested Schema : tasks
Type: array
Tasks involved in the indexing job.
Nested Schema : items
Type: object
Example application/json

{
    "historyItemCount":4,
    "baselineSchedule":{
        "occurrences":"*",
        "hours":"2",
        "months":"*",
        "minutes":"1",
        "parseString":"* * * * 2 1",
        "daysOfMonth":"*",
        "timeZone":"EST",
        "daysOfWeek":"*"
    },
    "indexingJob":{
        "finishTime":1.415083869326E12,
        "forcedToBaseline":false,
        "forcedToBaselineFullExport":false,
        "success":true,
        "startTime":1.415083839107E12,
        "baseline":false,
        "phases":[
            {
                "finishTime":1.415083839113E12,
                "startTime":1.415083839109E12,
                "tasks":[
                    {
                        "success":true,
                        "supportsStatusCounts":false,
                        "successCount":0,
                        "indexablePath":"/atg/commerce/endeca/index/CategoryTreeService",
                        "failureCount":0,
                        "status":"COMPLETE"
                    }
                ],
                "phaseName":"PreIndexing"
            },
            {
                "finishTime":1.415083869325E12,
                "startTime":1.415083839113E12,
                "tasks":[
                    {
                        "success":true,
                        "supportsStatusCounts":true,
                        "successCount":0,
                        "indexablePath":"/atg/commerce/endeca/index/SchemaExporter",
                        "failureCount":0,
                        "status":"COMPLETE"
                    },
                    {
                        "success":true,
                        "supportsStatusCounts":true,
                        "successCount":0,
                        "indexablePath":"/atg/commerce/endeca/index/CategoryToDimensionOutputConfig",
                        "failureCount":0,
                        "status":"COMPLETE"
                    },
                    {
                        "success":true,
                        "supportsStatusCounts":true,
                        "successCount":0,
                        "indexablePath":"/atg/commerce/search/ProductCatalogOutputConfig",
                        "failureCount":0,
                        "status":"COMPLETE"
                    }
                ],
                "phaseName":"RepositoryExport"
            },
            {
                "finishTime":1.415083869326E12,
                "startTime":1.415083869325E12,
                "tasks":[
                    {
                        "success":true,
                        "supportsStatusCounts":false,
                        "successCount":0,
                        "indexablePath":"/atg/commerce/endeca/index/EndecaScriptService",
                        "failureCount":0,
                        "status":"COMPLETE"
                    }
                ],
                "phaseName":"EndecaIndexing"
            }
        ],
        "indexingType":"PARTIAL",
        "status":"COMPLETE"
    },
    "historyItems":null,
    "indexingJobQueue":[
    ]
}
Default Response
The error response
Body
Root Schema : errorModel
Type: object
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Nested Schema : items
Type: object

Examples

Sample Response Payload returned by endpoint:

{
  "historyItemCount": 4,
  "baselineSchedule": {
    "occurrences": "*",
    "hours": "2",
    "months": "*",
    "minutes": "1",
    "parseString": "* * * * 2 1",
    "daysOfMonth": "*",
    "timeZone": "EST",
    "daysOfWeek": "*"
  },
  "indexingJob": {
    "finishTime": 1415083869326,
    "forcedToBaseline": false,
    "forcedToBaselineFullExport": false,
    "success": true,
    "startTime": 1415083839107,
    "baseline": false,
    "phases": [
      {
        "finishTime": 1415083839113,
        "startTime": 1415083839109,
        "tasks": [{
          "success": true,
          "supportsStatusCounts": false,
          "successCount": 0,
          "indexablePath": "/atg/commerce/endeca/index/CategoryTreeService",
          "failureCount": 0,
          "status": "COMPLETE"
        }],
        "phaseName": "PreIndexing"
      },
      {
        "finishTime": 1415083869325,
        "startTime": 1415083839113,
        "tasks": [
          {
            "success": true,
            "supportsStatusCounts": true,
            "successCount": 0,
            "indexablePath": "/atg/commerce/endeca/index/SchemaExporter",
            "failureCount": 0,
            "status": "COMPLETE"
          },
          {
            "success": true,
            "supportsStatusCounts": true,
            "successCount": 0,
            "indexablePath": "/atg/commerce/endeca/index/CategoryToDimensionOutputConfig",
            "failureCount": 0,
            "status": "COMPLETE"
          },
          {
            "success": true,
            "supportsStatusCounts": true,
            "successCount": 0,
            "indexablePath": "/atg/commerce/search/ProductCatalogOutputConfig",
            "failureCount": 0,
            "status": "COMPLETE"
          }
        ],
        "phaseName": "RepositoryExport"
      },
      {
        "finishTime": 1415083869326,
        "startTime": 1415083869325,
        "tasks": [{
          "success": true,
          "supportsStatusCounts": false,
          "successCount": 0,
          "indexablePath": "/atg/commerce/endeca/index/EndecaScriptService",
          "failureCount": 0,
          "status": "COMPLETE"
        }],
        "phaseName": "EndecaIndexing"
      }
    ],
    "indexingType": "PARTIAL",
    "status": "COMPLETE"
  },
  "historyItems": null,
  "indexingJobQueue": []
}