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