-
To create a new local DB index, run dsconfig with the
--create-local-db-index option and the
--index-name, --backend-name, and --set
index-type:<value> options.
$ bin/dsconfig create-local-db-index \ --index-name roomNumber --backend-name userRoot \ --set index-type:equality
-
To view the index, run dsconfig with the
get-local-db-index-prop option.
$ bin/dsconfig get-local-db-index-prop \ --index-name roomNumber --backend-name userRoot
-
Stop the PingDirectory server.
Note:
Although you can rebuild an index with the server online, it is not recommended.
$ bin/stop-server
-
To rebuild the index, run the rebuild-index tool.
$ bin/rebuild-index --baseDN dc=example,dc=com --index roomNumber
-
Restart the PingDirectory server.
$ bin/start-server