[Zope-Checkins] SVN: Zope/trunk/lib/python/Products/ZCatalog/
documentation cleanup, typo
Andreas Jung
andreas at andreas-jung.com
Sat Jul 17 00:23:22 EDT 2004
Log message for revision 26608:
documentation cleanup, typo
Changed:
U Zope/trunk/lib/python/Products/ZCatalog/README.txt
U Zope/trunk/lib/python/Products/ZCatalog/dtml/catalogAdvanced.dtml
-=-
Modified: Zope/trunk/lib/python/Products/ZCatalog/README.txt
===================================================================
--- Zope/trunk/lib/python/Products/ZCatalog/README.txt 2004-07-17 04:16:35 UTC (rev 26607)
+++ Zope/trunk/lib/python/Products/ZCatalog/README.txt 2004-07-17 04:23:21 UTC (rev 26608)
@@ -59,4 +59,16 @@
'pghandler' which must be a handler instance implementing the
IProgressHandler interface (see ProgressHandler.py). This can be useful
to provide logging during long running operations.
+
+ Example to reindex a catalog using zopectl:
+
+ > zopectl debug
+ >
+ From the zopectl shell:
+ > from Products.ZCatalog.ProgressHandler import StdoutHandler
+ > from Products.ZCatalog.ProgressHandler import ZLogHandler
+ > cat = app.cmfsite.portal_catalog
+ > cat.reindexIndex('SearchableText', None, pghandler=StdoutHandler())
+ > cat.refreshCatalog(pghandler=ZLogHandler())
+
Modified: Zope/trunk/lib/python/Products/ZCatalog/dtml/catalogAdvanced.dtml
===================================================================
--- Zope/trunk/lib/python/Products/ZCatalog/dtml/catalogAdvanced.dtml 2004-07-17 04:16:35 UTC (rev 26607)
+++ Zope/trunk/lib/python/Products/ZCatalog/dtml/catalogAdvanced.dtml 2004-07-17 04:23:21 UTC (rev 26608)
@@ -38,7 +38,7 @@
</tr>
<tr>
<td align="left" valign="top">
- <p class="form-help">Log progress of reindexing every N objects to the Zope logger (set to 0 to disabled logging)
+ <p class="form-help">Log progress of reindexing every N objects to the Zope logger (set to 0 to disable logging)
</p>
</td>
<td align="right" valign="top">
More information about the Zope-Checkins
mailing list