HP-UX Directory Server Administrator Guide HP-UX Directory Server Version 8.1 (5900-3098, May 2013)

10.4.2 Creating attributes.................................................................................................433
10.4.3 Creating object classes..........................................................................................435
10.4.4 Editing custom schema elements..............................................................................438
10.4.5 Deleting schema...................................................................................................439
10.5 Managing schema using ldapmodify...............................................................................440
10.5.1 Creating attributes..................................................................................................440
10.5.2 Creating object classes...........................................................................................440
10.5.3 Deleting schema....................................................................................................441
10.6 Creating custom schema files..........................................................................................442
10.7 Dynamically reloading schema.......................................................................................443
10.7.1 Reloading schema using schema-reload.pl.................................................................443
10.7.2 Reloading schema using ldapmodify........................................................................444
10.7.3 Reloading schema with replication...........................................................................444
10.7.4 Schema reload errors.............................................................................................444
10.8 Turning schema checking on and off................................................................................445
10.9 Syntax Validation Checking............................................................................................446
11 Managing Indexes................................................................................449
11.1 About indexes................................................................................................................449
11.1.1 About index types....................................................................................................449
11.1.2 About default, system, and standard indexes...............................................................450
11.1.2.1 Overview of default indexes...............................................................................450
11.1.2.2 Overview of system indexes..............................................................................451
11.1.2.3 Overview of standard indexes...........................................................................451
11.1.3 Overview of the searching algorithm..........................................................................451
11.1.4 Approximate searches..............................................................................................452
11.1.5 Balancing the benefits of indexing.............................................................................453
11.2 Creating indexes...........................................................................................................454
11.2.1 Creating indexes from the server console...................................................................454
11.2.2 Creating indexes from the command line...................................................................455
11.2.2.1 Adding an index entry.....................................................................................455
11.2.2.2 Running the db2index.pl script.........................................................................456
11.2.3 Using a cn=tasks entry to create an index..................................................................457
11.2.4 Creating browsing indexes from the server console.....................................................457
11.2.5 Creating browsing indexes from the command line.....................................................458
11.2.5.1 Adding a browsing index entry.........................................................................458
11.2.5.2 Running the vlvindex script...............................................................................459
11.2.5.3 Using a cn=tasks entry to create a browsing index..............................................460
11.2.5.4 Setting access control for VLV information...........................................................460
11.3 Changing the width for indexed substring searches............................................................460
11.4 Deleting indexes............................................................................................................461
11.4.1 Deleting indexes from the server console....................................................................462
11.4.2 Deleting indexes from the command line...................................................................462
11.4.2.1 Deleting an index entry....................................................................................462
11.4.2.2 Running the db2index.pl script.........................................................................463
11.4.3 Deleting browsing indexes from the server console......................................................464
11.4.4 Deleting browsing indexes from the command line......................................................464
11.4.4.1 Deleting a browsing index entry........................................................................464
11.4.4.2 Running the vlvindex script...............................................................................465
11.5 Managing indexes.........................................................................................................465
11.5.1 Indexing performance..............................................................................................466
11.5.2 Search performance...............................................................................................466
11.5.3 Backwards compatibility and migration.....................................................................467
11.6 Attribute name quick reference table.................................................................................467
Contents 13