mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Maxim Thomas
25.28.2025 da20003d4f00a05fa608bbf442766b716c8c851a
opendj-server-legacy/src/main/java/org/opends/server/tools/BackendCreationHelper.java
@@ -98,14 +98,16 @@
  /** Default indexes to add in a new backend. */
  public static final CreateIndex[] DEFAULT_INDEXES = {
    CreateIndex.withEqualityAndSubstring("cn"),
    CreateIndex.withEqualityAndSubstring("givenName"),
    CreateIndex.withEqualityAndSubstring("mail"),
    CreateIndex.withEqualityAndSubstring("sn"),
    CreateIndex.withEqualityAndSubstring("telephoneNumber"),
    CreateIndex.withEquality("member"),
    CreateIndex.withEquality("uid"),
    CreateIndex.withEquality("uniqueMember")
// Default indexes moved to the PluggableBackendConfiguration.xml file,
// see https://github.com/OpenIdentityPlatform/OpenDJ/issues/497
//    CreateIndex.withEqualityAndSubstring("cn"),
//    CreateIndex.withEqualityAndSubstring("givenName"),
//    CreateIndex.withEqualityAndSubstring("mail"),
//    CreateIndex.withEqualityAndSubstring("sn"),
//    CreateIndex.withEqualityAndSubstring("telephoneNumber"),
//    CreateIndex.withEquality("member"),
//    CreateIndex.withEquality("uid"),
//    CreateIndex.withEquality("uniqueMember")
  };
  /**