[Zope] record count in catalog
Andreas Jung
lists at zopyx.com
Sun Jun 15 02:18:23 EDT 2008
--On 14. Juni 2008 15:15:17 -0700 Darryl Caldwell
<darryl.caldwell at gmail.com> wrote:
> Hi all,
>
> The Catalog tab in my catalog says this:
>
> The catalog "mycatalog" contains 30,345 record(s) in the path "/".
>
> But when I sort and return a list of cataloged objects I only have 19,881.
>
> Here is the script call to retrieve the records:
>
> context.mycatalog.search( {}, sort_index='lastname' )
>
> Why don't the numbers match up?
>
>
Corrupt catalog? Reindex (ZMI -> catalog -> Advanced tab -> Update catalog).
-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20080615/c1196445/attachment-0001.bin
More information about the Zope
mailing list