Hallvard Breien Furuseth wrote: > On Fri, 4 May 2012 14:13:38 +0200, Meike Stone wrote: >> attributetype (188.8.131.52.4.... >> NAME ('InsertTime') >> EQUALITY generalizedTimeMatch >> ORDERING generalizedTimeOrderingMatch >> SYNTAX 184.108.40.206.4.1.14220.127.116.11.24 >> ) >> >> Now I can use this and search, but it takes very long. >> >> So I want index it for searching: >> >> * greater (">=") >> * less ("<=") > > Use an eq index. This doubles as an ordering index for some non-string > syntaxes, including integer, generalizedTime, and (I think) CSN. I brought up this discussion before: http://www.openldap.org/lists/openldap-technical/201204/msg00116.html In case the range filter is combined with a another indexed filter the eq-index can even lead to slower searches. Ciao, Michael.
Description: S/MIME Cryptographic Signature