manageindexblock CLI command



Use this command to add or delete index blocks.

Note

Before running the command, ensure that the following components are up and running:

  • Configuration Database
  • Console Server
  • Indexer (all instances)

After running this command, ensure that all the product components are up and running. To understand the status of each of the components, navigate to the Administration > Components page. For more information, see Viewing-component-status-and-associated-properties.


Syntax

Note

Before you run the command, note the following points:

manageindexblock -indexBlockName <indexblockname> -operation <create or delete> -retentiondays <retention days> -archive <archive status> -d <hostname> -p <portNumber> -u <username> -w <password> [-l <locale>] [-s] [-y]
  • Angle brackets (< >) indicate a variable value that needs to be user defined.
  • Square brackets ([ ]) indicate optional parameters.

The following table describes the parameters used in the syntax:

Example inputs

The following example provides the input for creating an index block:

manageindexblock -u admin -w admin12345 -d localhost -p 9797 -operation create -indexblockname abc -retentiondays 8 -archive true

The following example provides the input for previewing an index block:

manageindexblock -u admin -w admin12345 -d localhost -p 9797 -operation delete -indexblockname abc -y true

The following example provides the input for deleting an index block:

manageindexblock -u admin -w admin12345 -d localhost -p 9797 -operation delete -indexblockname abc

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*