| | |
| | | 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; |
| | |
| | | } |
| | | |
| | | /** |
| | | * 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. |
| | | */ |