International index

Hi !In our directory we store attribute as multi-language. For example, we have cn;lang-en and the default value cn.How can we index efficiently these attributes with international values ?Thanks
[223 byte] By [Merlin_Der_Koenig] at [2007-11-26 11:30:21]
# 1

You need to specify your locale using "nsmatchingrule" attribute, example for French:

dn: cn=cn,cn=index,cn=databaseName,cn=ldbm database,

cn=plugins,cn=config

objectClass: top

objectClass: nsIndex

cn: cn

nsSystemIndex: false

nsIndexType: pres

nsIndexType: eq

nsIndexType: sub

nsIndexType: approx

nsMatchingRule: 1.3.6.1.4.1.42.2.27.9.4.76.1

For more information read http://docs.sun.com/source/816-6698-10/indexing.html#17419

Thanks

Krishna Kusupudi

kusupudi at 2007-7-7 3:46:04 > top of Java-index,Web & Directory Servers,Directory Servers...
# 2
This is correct, and then for searching with this index you need to search with an extensible matching rule filter:(cn:1.3.6.1.4.1.42.2.27.9.4.76.1.3:=Jean)will match the value according to the French case ignore equality rules...Ludovic.
ludovicp at 2007-7-7 3:46:04 > top of Java-index,Web & Directory Servers,Directory Servers...