Hallvard Breien Furuseth wrote: > On Fri, 4 May 2012 14:13:38 +0200, Meike Stone wrote: >> attributetype (22.214.171.124.4.... >> NAME ('InsertTime') >> EQUALITY generalizedTimeMatch >> ORDERING generalizedTimeOrderingMatch >> SYNTAX 126.96.36.199.4.1.14188.8.131.52.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