[Checkins] SVN: zope.index/trunk/ Base 2 for kicks.

Shane Hathaway shane at hathawaymix.org
Sat Dec 3 23:30:42 UTC 2011


Log message for revision 123566:
  Base 2 for kicks.
  

Changed:
  U   zope.index/trunk/CHANGES.txt
  U   zope.index/trunk/src/zope/index/keyword/index.py

-=-
Modified: zope.index/trunk/CHANGES.txt
===================================================================
--- zope.index/trunk/CHANGES.txt	2011-12-03 23:23:57 UTC (rev 123565)
+++ zope.index/trunk/CHANGES.txt	2011-12-03 23:30:42 UTC (rev 123566)
@@ -1,12 +1,12 @@
 Changes
 =======
 
-3.6.2 (unreleased)
+3.6.2 (2011-12-03)
 ------------------
 
 - KeywordIndex: Store docids in TreeSet rather than a Set when the
   number of documents matching a word reaches a configurable
-  threshold (default 100). The rule is applied to individual words at
+  threshold (default 64). The rule is applied to individual words at
   indexing time, but you can call the new optimize method to optimize
   all the words in an index at once. Designed to fix LP #881950.
 

Modified: zope.index/trunk/src/zope/index/keyword/index.py
===================================================================
--- zope.index/trunk/src/zope/index/keyword/index.py	2011-12-03 23:23:57 UTC (rev 123565)
+++ zope.index/trunk/src/zope/index/keyword/index.py	2011-12-03 23:30:42 UTC (rev 123566)
@@ -32,7 +32,7 @@
 
     # If a word is referenced by at least tree_threshold docids,
     # use a TreeSet for that word instead of a Set.
-    tree_threshold = 100
+    tree_threshold = 64
 
     def __init__(self, family=None):
         if family is not None:



More information about the checkins mailing list