manageindexblock CLI command
Syntax
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*