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

boli
10.41.2007 e5256c189413b7449ce342858b8b28f84af452ca
opendj-sdk/opends/src/server/org/opends/server/backends/jeb/IndexConfig.java
@@ -61,6 +61,11 @@
  private boolean isOrdering = false;
  /**
   * Indicates whether this index is configured for attribute approximate.
   */
  private boolean isApproximate = false;
  /**
   * The index entry limit for the attribute equality database.
   */
  private int equalityEntryLimit = 4000;
@@ -177,6 +182,24 @@
  }
  /**
   * Determine if this index is configured for attribute approximating.
   * @return true if the index is configured for attribute approximating.
   */
  public boolean isApproximateIndex()
  {
    return isApproximate;
  }
  /**
   * Configures this index for attribute approximating.
   * @param isApproximate Sets attribute approximate indexing if true.
   */
  public void setApproximateIndex(boolean isApproximate)
  {
    this.isApproximate = isApproximate;
  }
  /**
   * Get the configured entry limit for attribute equality indexing.
   * @return The index entry limit, or 0 if there is no limit.
   */