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

maximthomas
29.55.2025 9df0c0351216575123c607a39c5c7ec453bae64b
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")
  };
  /**