Indexes

DirX Directory allows creating the following attribute indexes:

    • INITIAL (also used for equality) / FINAL

    • PRESENCE

    • CONTAINS

    • APPROXIMATE (phonetic match)

  1. 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.

  2. 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 )

  3. 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 )

  4. 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.