Dieter Kluenter wrote:
Michael Strödermichael@stroeder.com writes:
Dieter Kluenter wrote:
Marcel Bertelermarcel.berteler@bdsolutions.co.za writes:
Dieter Kluenter wrote the following on 2009/04/21 13:35:
Marcel Bertelermarcel.berteler@bdsolutions.co.za writes:
[...]
Just a few lines down, section 4.2.16 and 4.2.17 an equality index should be sufficient.
Server-side database indexing is implementation-specific and therefore RFC 4517 does not say anything about indexing.
For indexing searches with<= or>= IMHO kind of an ordering index would be needed for the ORDERING matching rule. Maybe one of the developers could elaborate on how ordering matching works within slapd and whether an equality index already speeds up this. When doing it with back-sql probably the PostgresQL indexing configuration is relevant either.
A 'greater than or equal to', or 'less than or equal to' filter in fact is operated on an equality index database.
That's true in back-bdb/hdb. For back-sql, everything depends on the underlying SQL database.