admReindex

Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center? Click here !

Availability

This routine is available starting with SIL Engine™ 2.5.13 / 2.6.5 / 4.0.15.

Syntax

admReindex([useBackgroundReindexing])

Description

Triggers a re-index for all issues across a Jira instance. Starting with SIL Engine™ 4.0.15 you can also specify an optional useBackgroundReindexing parameter to run re-index in the background.

Parameters

Parameter name

Type

Required

Description

useBackgroundReindexing

boolean

No

'True' - re-index issues in background.

'False' or missing - lock Jira and rebuild index.

Return type

number

Returns a number representing the duration of the re-index in milliseconds.

The routine is synchronous. Even though the task will be run on multiple threads, the current thread will be stuck inside the routine until the reiindex is done.

See also