Hello,
I have recently discovered that i'm not using the indexes i should, in one translucent overlay database, for the locally stored attributes. This being a production server, i would like to know if changing index configuration and running slapindex on that database is enough to reindex the data.
Regards,
Hugo Monteiro.
Hugo Monteiro writes:
I have recently discovered that i'm not using the indexes i should, in one translucent overlay database, for the locally stored attributes. This being a production server, i would like to know if changing index configuration and running slapindex on that database is enough to reindex the data.
Depends. If you use cn=config: Add the new indexes with ldapmodify, and slapd will index automatically. If you use slapd.conf: Edit your index settings, stop slapd, run slapindex, restart slapd.
On 09/20/2011 11:33 AM, Hallvard B Furuseth wrote:
Hugo Monteiro writes:
I have recently discovered that i'm not using the indexes i should, in one translucent overlay database, for the locally stored attributes. This being a production server, i would like to know if changing index configuration and running slapindex on that database is enough to reindex the data.
Depends. If you use cn=config: Add the new indexes with ldapmodify, and slapd will index automatically. If you use slapd.conf: Edit your index settings, stop slapd, run slapindex, restart slapd.
Hello Hallvard,
My question was more directed to the point that being a translucent database, the procedure to recreate the indexes would be the same as if it was a regular one. Guess you already answered that.
Best Regards,
Hugo Monteiro.
Hugo Monteiro writes:
My question was more directed to the point that being a translucent database, the procedure to recreate the indexes would be the same as if it was a regular one. Guess you already answered that.
Yes. An index is an optimization, it doesn't change the search results. Unless you have limits set which would prevent the unindexed search.
openldap-technical@openldap.org