Am 02.10.2012 09:37, schrieb Adi Kriegisch:
> Hi!
>
>>    i have some entries in my logs like:
>>
>>  bdb_equality_candidates: (member) not indexed
>>  bdb_equality_candidates: (displayName) not indexed
>>  bdb_equality_candidates: (cn) not indexed
>>  bdb_equality_candidates: (displayName) not indexed
>>  bdb_equality_candidates: (cn) not indexed
>>  bdb_equality_candidates: (mail) not indexed
>>  bdb_equality_candidates: (member) not indexed
>>
>>  how should i add them to ldap?
>>
>>  eq, pres, approx, special or sub?
> From the source (servers/slapd/back-bdb/filterindex.c):
> bdb_equality_candidates hints at "eq"; bdb_presence_canditates hint at
> "pres"...
> So "eq" it should be...
>
>>  What i know is:
>>
>>  pres should be used if use [1]searches of the form 'objectclass=person' or 
>> 'attribute=mail' will be used.
>>
>>    approx MUST be used if use [2]searches of the form 'sn~=person' (a
>>    'sounds-like' search) will be used.
>>
>>    eq should be used if [3]searches of the form 'sn=smith' will be used i.e
>>    no wildcards are included (uses the EQUALITY rule only).
>>
>>    sub should be used if use [4]searches of the form 'sn=sm*' i.e wildcards
>>    are included (uses the SUBSTR rule). This rule may be enhanced by a
>>    using subinitial (optimised for 'sn=s*'), subany (optimised for 'sn=*n*')
>>    or subfinal(optimised for 'sn=*th'). One or more sub parameters may be
>>    included.
> excellent summary btw.
>
> -- Adi
Hi,

not my afford. Sorry forgot to mention where this was found:

http://www.zytrax.com/books/ldap/apa/indeces.html
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to