Page created: 6 Nov 2019
|
Page updated: 25 Mar 2020
| 1 min read
8.0 Product PingDirectory Product documentation Content Type IT Administrator Administrator Audience Administration User task Software Deployment Method Capability Directory
-
Use the dsconfig tool to create a filtered index. The
following command creates an equality index on the
companyDomain
attribute and maintains an index for the equality filter defined"(objectclass=company)"
. After you have created the index, you must rebuild the indexes.$ bin/dsconfig create-local-db-index --backend-name "userRoot" \ --index-name companyDomain --set maintain-equality-index-without-filter:true \ --set index-type:equality --set equality-index-filter:"(objectclass=company)"
- Stop the Directory Server using bin/stop-server.
-
Run the rebuild-index tool.
$ bin/rebuild-index --baseDN dc=example,dc=com --index companyDomain
- Start the Directory Server using bin/start-server.