Indexes
DirX Directory allows creating the following attribute indexes:
-
-
INITIAL (also used for equality) / FINAL
-
PRESENCE
-
CONTAINS
-
APPROXIMATE (phonetic match)
-
-
INITIAL / FINAL
This index will be created with the dirxadm command:
db attrconfig attr-type(s) -index TRUE ,
or
import_dbconfig file-name
where the file file-name contains
dn: cn=dbconfig
attributeIndex: ( oid NAME attr-type INDEX INITIAL FINAL OPTREAD true )
…For all attributes with string syntax, an INITIAL and FINAL index will be created.
For all attributes that do not have string syntax only an INITIAL index just supporting equality match will be created.
-
PRESENCE
This index will be created with the dirxadm command:
db attrconfig attr-type(s) -index TRUE ANY ,
or
import_dbconfig file-name
where the file file-name contains
dn: cn=dbconfig
attributeIndex: ( oid NAME attr-type NAME attr-type INDEX INITIAL FINAL PRESENT OPTREAD true )
… -
CONTAINS
This index will be created with the dirxadm command:
db attrconfig attr-type(s) -index TRUE CONTAINS ,
or
import_dbconfig file-name
where the file file-name contains
dn: cn=dbconfig
attributeIndex: ( oid NAME attr-type INDEX INITIAL FINAL CONTAINS OPTREAD true )
… -
APPROXIMATE
This index will be created with the dirxadm command:
db attrconfig attr-type(s) -index TRUE APPROXIMATE ,
or
import_dbconfig file-name
where the file file-name contains
dn: cn=dbconfig
attributeIndex: ( oid NAME attr-type INDEX INITIAL FINAL CONTAINS APPROXIMATE OPTREAD true )
…See the dirxadm db attrconfig operation in the Administration Reference for a complete description of the operation.