PingDirectory

Creating a new local DB VLV index

Steps

  1. Use dsconfig with the create-local-db-vlv-index option and the --index-name, --backend-name, and --set index-type:(propertyValue) options.

    If you do not set any property values, the default values are assigned.

    Example:

    $ bin/dsconfig create-local-db-vlv-index \
      --index-name givenName --backend-name userRoot --set base-dn:dc=example,dc=com \
      --set scope:whole-subtree --set filter:"(objectclass=*)" \
      --set sort-order:givenName
  2. Rebuild the index using the rebuild-index tool.

    You must add the vlv. prefix to the index name to rebuild the VLV index.

    Example:

    The following command can be run with the server on or offline with the addition of the --task and connection options.

    $ bin/rebuild-index --baseDN dc=example,dc=com --index vlv.givenName