Options

Table A-5 db2index options

Option

Description

-ddebugLevel

Specifies the debug level to use during index creation. For

 

further information, refer to “nsslapd-errorlog-level (Error log

 

level)”.

 

 

-DconfigDir

Specifies the location of the server configuration directory that

 

contains the configuration information for the index creation

 

process. This must be the full path to the configuration directory,

 

/etc/opt/dirsrv/slapd-instance_name.

 

 

-nbackendName

Specifies the name of the backend containing the entries to

 

index.

 

 

-t

Specifies the attribute to be indexed as well as the types of

attributeName[:indextypes(:mathingrules)]

indexes to create and matching rules to apply, if any. If the

 

matching rule is specified, an index type must be specified. This

 

option cannot be used with -T. indexTypes specifies a

 

comma-separated list of indexes to be created for the attributes.

 

matchingRules is an optional, comma-separated list of the

 

OIDs for the languages in which the attribute will be indexed.

 

This option is used to create international indexes. For

 

information on supported locales and collation order OIDs, see

 

the Appendix "Internationalization" in the HP-UX Directory

 

Server administrator guide.

 

 

-TvlvTag

Specifies the VLV tag to use to create VLV indexes. The Console

 

can be used to specify VLV tags for each database supporting

 

the directory tree, as described in the HP-UX Directory Server

 

administrator guide. Additional VLV tags can be defined by

 

creating them in LDIF and adding them in the Directory Server

 

configuration. This options cannot be used with -t.

 

 

246 Using the ns-slapd command-line utilities