Versions Compared

Key

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

Table of Contents
maxLevel3

Overview

Function

waitForIndexing(success, error)

Description

Tracks if whether the indexing process is completed.

Output

A JSON String array object containing the following text if the given table;

  • supports pagination - " xxxxxxxx "
  • does not support pagination - "xxxxxxxx"

    message on successful completion of the indexing process.

    Example

    Code Block
    languagejs
    client.isPaginationSupportedwaitForIndexing(“SampleRecordStore”, function(data) {
          console.log (data[“message”"message"]);
    }, function(error) {
          console.log(“error"error occured: " + error[“message”]);  
    });

    Sample output

    Code Block
    languagetext
     {
    	status: "success"
    	message: "Indexing completed successfully"
    }