Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents




Re-index with "Index in the background" option

MethodPOST
URL/rest/jip-api/1.0/index/lucene/reindex.json

...


Code Block

[

...


{

...


"jobName": "SnapBytes.Index.Checker",

...


...

"lastExecutionTime": null,

...


...

"lastExecutionTimeFormatted": null,

...


...

"interval": 604800000,

...


"jobState": {
"totalRecords": 0,
"

...

processedRecords": 

...

0,
"lastProcessMessage": "",
"abortPending": false,
"running": false,
"completedPercentage": 0
},

...


"running": false,
"scheduled": true
},
{
"

...

jobName": 

...

"SnapBytes.Index.Builder",
"lastExecutionTime": null,
"lastExecutionTimeFormatted": null,
"interval": 0,
"jobState": {
"totalRecords": 0,
"processedRecords": 0,
"lastProcessMessage": "",
"abortPending": false,

...


"running": true,
"completedPercentage": 0
},
"running": false,

...


"scheduled": true
}
]



Example Response


Expand
titleExample Response. Click here to expand...

[
  {
    "jobName": "SnapBytes.Index.Checker",
    "lastExecutionTime": null,
    "lastExecutionTimeFormatted": null,
    "interval": 604800000,
    "jobState": {
      "totalRecords": 0,
      "processedRecords": 0,
      "lastProcessMessage": "",
      "abortPending": false,
      "running": false,
      "completedPercentage":

...

0

...

    },

...

    "running":

...

false,

...

    "scheduled":

...

true

...

  },

...

  {

...

    "jobName":

...

"SnapBytes.Index.Builder",

...

    "lastExecutionTime":

...

null,

...

    "lastExecutionTimeFormatted":

...

null,

...

    "interval":

...

0,

...

    "jobState":

...

{

...

      "totalRecords":

...

0,

...

      "processedRecords":

...

0,

...

      "lastProcessMessage":

...

"",

...

      "abortPending":

...

false,

...

      "running":

...

true,

...

      "completedPercentage":

...

0

...

    },

...

    "running":

...

false,

...

    "scheduled":

...

true

...

  }
]