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:
booleanThe ending index of history items to include.- historyStartingIndex
Type:booleanThe 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
- baselineSchedule
-
Type:
objectbaselineScheduleAdditional Properties Allowed:Scheduled baseline information. - historyItemCount
-
Type:
integerTotal count of history items. - historyItems
-
Type:
objecthistoryItemsAdditional Properties Allowed:Repository items representing the indexing job history. - indexingJob
-
Type:
objectindexingJobAdditional Properties Allowed:The overall state information of indexing job. - indexingJobQueue
-
Type:
objectindexingJobQueueAdditional Properties Allowed:The array of queued jobs.
Nested Schema : baselineSchedule
Type:
objectScheduled baseline information.
- daysOfMonth
-
Type:
stringThe day or days of the month on which the schedule occurs. Not used if parseString is specified. If neither parseString or daysOfMonth is specified, defaults to all days of the month (equivalent to "*"). - daysOfWeek
-
Type:
stringThe day or days of the week on which the schedule occurs. Not used if parseString is specified. If neither parseString nor daysOfWeek is specified, defaults to all days of the the week (equivalent to "*"). - hours
-
Type:
stringThe hours of the day on which the schedule occurs. Not used if parseString is specified. If neither parseString nor hours is specified, defaults to all hours of the day (equivalent to "*"). - locale
-
Type:
stringThe optional locale to use. Defaults to the US locale. - minutes
-
Type:
stringThe minutes of the hour on which the schedule occurs. Not used if parseString is specified. If neither parseString nor minutes is specified, defaults to all minutes of the hour (equivalent to "*"). - months
-
Type:
stringThe month or months on which the schedule occurs. Not used if parseString is specified. If neither parseString or months is specified, defaults to all months (equivalent to "*"). - occurrences
-
Type:
stringThe occurence of the day or days of the week on which the schedule occurs. Not used if parseString is specified. If neither parseString or occurences is specified, defaults to all occurences in the month (equivalent to "*"). - parseString
-
Type:
stringThe complete atg.service.scheduler.CalendarSchedule parse string. If present, will be used instead of hours, minutes, etc. A null parseString value will delete the baseline schedule - timeZone
-
Type:
stringThe optional time zone to use when interpretting the schedule. If not specified, defaults to the time zone of the server JVM.
Nested Schema : historyItems
Type:
objectRepository items representing the indexing job history.
- repositoryId
-
Type:
stringThe repository id of history item.
Nested Schema : indexingJob
Type:
objectThe overall state information of indexing job.
- baseline
-
Type:
booleanWhether this is a baseline index. True means baseline, false means partial. - finishTime
-
Type:
numberThe finish time for the job in milliseconds. - forcedToBaseline
-
Type:
booleanWhether this is forced to baseline. - phases
-
Type:
arrayphasesAdditional Properties Allowed:An indexing job is made up of indexing phases, which in turn create indexing tasks. - startTime
-
Type:
numberThe start time for the job in milliseconds. - status
-
Type:
stringThe overall status of the job. - success
-
Type:
stringOverall result of the job.
Nested Schema : indexingJobQueue
Type:
objectThe array of queued jobs.
- repositoryId
-
Type:
stringThe repository id of queued job.
Nested Schema : phases
Nested Schema : items
Type:
object- finishTime
-
Type:
numberThe finish time for the phase in milliseconds. - phaseName
-
Type:
stringName of the phase. - startTime
-
Type:
numberThe start time for the phase in milliseconds. - tasks
-
Type:
arraytasksAdditional Properties Allowed:Tasks involved in the indexing job.
Nested Schema : tasks
Nested Schema : items
Type:
object- failureCount
-
Type:
integerCount of items failed. - indexablePath
-
Type:
stringThe Nucleus path of indexable component. - status
-
Type:
stringThe status of the task. - success
-
Type:
booleanWhether this task was successful. - successCount
-
Type:
integerCount of items successful. - supportsStatusCounts
-
Type:
booleanWhether supports status count was enabled
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- devMessage
-
Type:
stringAn optional non-localized message containing technical information for developers - errorCode
-
Type:
stringThe numerical code identifying the error - errors
-
Type:
arrayerrorsAdditional Properties Allowed:An optional list of errors if multiple errors were encountered - message
-
Type:
stringThe localized message describing the error - moreInfo
-
Type:
stringAn optional non-localized message with more information - o:errorPath
-
Type:
stringAn optional machine readable description of where the error occurred - status
-
Type:
stringThe HTTP status code - type
-
Type:
stringThe URI to the HTTP state code definition
Nested Schema : errors
Nested Schema : items
Type:
object- devMessage
-
Type:
stringAn optional non-localized message containing technical information for developers - errorCode
-
Type:
stringThe numerical code identifying the error - message
-
Type:
stringThe localized message describing the error - moreInfo
-
Type:
stringAn optional non-localized message with more information - o:errorPath
-
Type:
stringAn optional machine readable description of where the error occurred - status
-
Type:
stringThe HTTP status code
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": []
}