Skip to end of banner
Go to start of banner

admReindex

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Availability

This routine is available starting with katl-commons 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 katl-commons 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

  • No labels