[Date Prev][Date Next]
subinitial and subfinal indexes not working?
I'm running an instance of openldap-2.0.27 and it seems that the
subinitial and subfinal indexes are not working.
All for searches correctly return the same 4 entries, but with
varying degrees of speed (the database contains about 170k entries):
# time ldapsearch cn="jose roberto silva" > /dev/null
# time ldapsearch cn="*jose roberto silva*" > /dev/null
cn is indexed as follows:
index cn eq,subinitial,subany,subfinal
I had "sub" earlier, same result.
Now, the following two searches take minutes to complete:
# time ldapsearch cn="*jose roberto silva" > /dev/null
# time ldapsearch cn="jose roberto silva*" > /dev/null
Seems there is a problem with the subinitial and subfinal indexes, any
hints? I *think* this also happens with openldap-2.1.21, but I'll try
again later just to be sure.