summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-05-03 04:25:48 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:51:43 -0500
commit1cc8db013226fada2249e4e210a7b020e8e31564 (patch)
tree76600af92f8a2e275a9da6d9979a0b06c3dd88d8
parentcd16ca987675d70526010072dfe8552a1cbf87d9 (diff)
downloadsamba-1cc8db013226fada2249e4e210a7b020e8e31564.tar.gz
samba-1cc8db013226fada2249e4e210a7b020e8e31564.tar.bz2
samba-1cc8db013226fada2249e4e210a7b020e8e31564.zip
r453: added a comment about indexing on objectclass
(its usually a bad idea) (This used to be commit f88760c3cc81324d3d339702b411603139af6224)
-rw-r--r--source4/lib/ldb/tests/test-index.ldif5
1 files changed, 4 insertions, 1 deletions
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