Skip to content

Latest commit

 

History

History
96 lines (61 loc) · 3.92 KB

File metadata and controls

96 lines (61 loc) · 3.92 KB

Pause Indexing Operation


{NOTE: }

{NOTE/}


{PANEL: Overview}

Which node is indexing paused for?

  • When pausing indexing from the client:
    Indexing will be paused on the preferred node only, and Not on all the database-group nodes.

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


What happens when indexing is paused for a node?

  • No indexing takes place on a node that indexing is paused for.
    New data is indexed on database-group nodes that indexing is not paused for.

  • All indexes, including paused ones, can be queried, but results may be stale when querying nodes that indexing has been paused for.

  • New indexes can be created for the database.
    However, the new indexes will also be paused on any node that indexing is paused for,
    until indexing is resumed for that node.

  • When resetting indexes or editing index definitions, re-indexing on a node that indexing has been paused for will only be triggered when indexing is resumed on that node.


Resuming indexing:

  • Learn to resume indexing for all indexes by a client, here: resume indexing

  • Learn to resume indexing for all indexes via Studio, here: database list view

  • Pausing indexing is Not a persistent operation.
    This means that all paused indexes will resume upon either of the following:

    • The server is restarted.
    • The database is re-loaded (by disabling and then enabling it).
      Toggling the database state can be done using the Studio database list view,
      or using ToggleDatabasesStateOperation by the client.

{PANEL/}

{PANEL: Pause indexing example}

{CODE-TABS} {CODE-TAB:csharp:Sync pause_indexing@ClientApi\Operations\Maintenance\Indexes\PauseIndexing.cs /} {CODE-TAB:csharp:Async pause_indexing_async@ClientApi\Operations\Maintenance\Indexes\PauseIndexing.cs /} {CODE-TABS/}

{PANEL/}

{PANEL: Syntax}

{CODE syntax@ClientApi\Operations\Maintenance\Indexes\PauseIndexing.cs /}

{PANEL/}

Related Articles

Indexes

Operations

Studio