Resume Indexing Operation


  • After indexing has been paused using StopIndexingOperation,
    use StartIndexingOperation to resume indexing for ALL indexes in the database.

    Calling StartIndexingOperation on a single index will have no effect.

  • When resuming indexing from the client:
    Indexing is resumed on the preferred node only, and Not on all the database-group nodes.

  • When resuming indexing from the Studio database list view:
    Indexing is resumed on the local node the browser is opened on, even if it is Not the preferred node.

  • In this page:


Resume indexing example

# Define the resume indexing operation
resume_index_op = StartIndexingOperation()

# Execute the operation by passing it to maintenance.send
store.maintenance.send(resume_index_op)

# At this point:
# you can be sure that all indexes on the preferred node are 'running'

# Can verify the index status on the preferred node by sending GetIndexingStatusOperation
indexing_status = store.maintenance.send(GetIndexingStatusOperation())

self.assertEqual(indexing_status.status, IndexRunningStatus.RUNNING)

Syntax

class StartIndexingOperation(VoidMaintenanceOperation):
    def __init__(self): ...