From 1cc8db013226fada2249e4e210a7b020e8e31564 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 3 May 2004 04:25:48 +0000 Subject: r453: added a comment about indexing on objectclass (its usually a bad idea) (This used to be commit f88760c3cc81324d3d339702b411603139af6224) --- source4/lib/ldb/tests/test-index.ldif | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source4/lib/ldb/tests/test-index.ldif b/source4/lib/ldb/tests/test-index.ldif index 0f1268c44f..6b2e921ebd 100644 --- a/source4/lib/ldb/tests/test-index.ldif +++ b/source4/lib/ldb/tests/test-index.ldif @@ -1,3 +1,6 @@ dn: @INDEXLIST @IDXATTR: uid -@IDXATTR: objectclass +# it is much better not to index on objectclass if nearly +# all the records are the same class (the index is expensive +# to maintain, and doesn't really gain anything) +# @IDXATTR: objectclass -- cgit