[Zope-Checkins] CVS: Zope2 - ZCatalog.py:1.88.6.21
andreas@serenade.digicool.com
andreas@serenade.digicool.com
Wed, 30 May 2001 07:45:47 -0400
Update of /cvs-repository/Zope2/lib/python/Products/ZCatalog
In directory serenade:/tmp/cvs-serv20547
Modified Files:
Tag: ajung-dropin-registry
ZCatalog.py
Log Message:
- made ZCatalog a bit more smarter (it knows now about the splitters)
- fixed help for indexes view
--- Updated File ZCatalog.py in package Zope2 --
--- ZCatalog.py 2001/05/25 15:08:09 1.88.6.20
+++ ZCatalog.py 2001/05/30 11:45:46 1.88.6.21
@@ -102,6 +102,7 @@
from ZCatalogIndexes import ZCatalogIndexes
from Products.PluginIndexes.common.PluggableIndex import PluggableIndexInterface
from Products.PluginIndexes.TextIndex.Vocabulary import Vocabulary
+from Products.PluginIndexes.TextIndex import Splitter
import string, urllib, os, sys, time
StringType=type('')
@@ -161,7 +162,7 @@
'help': ('OFSP','Properties.stx')},
{'label': 'Indexes', # TAB: Indexes
'action': 'Indexes/manage_workspace',
- },
+ 'help': ('ZCatalog','ZCatalog_Indexes.stx')},
{'label': 'Metadata', # TAB: Metadata
'action': 'manage_catalogSchema',
'target':'manage_main',
@@ -234,6 +235,7 @@
self.title=title
self.vocabulary = None
+ self.availableSplitters = Splitter.availableSplitters
self.threshold = 10000
self._v_total = 0