[Zope] LocalFS and zCatalog

Dieter Maurer dieter@handshake.de
Fri, 13 Dec 2002 22:30:43 +0100


Meilicke, Scott writes:
 > I am trying to index files in a file system, not in zope, using LocalFS and
 > zcatalog.  I have not been successful.  Is anyone doing this currently?
I did it with an older version of "LocalFS".

Did you activate cataloguing in the "LocalFS" instance configuration?

Did you add the files to the catalog (with the "Find objects and
catalog" tab of "ZCatalog")?

 > Specifically, I can't figure out what index localfs.py would use with a
 > zcatalog.
"LocalFS" maps files in the filesystem to internal Zope objects
(based on extensions). Each Zope object class provides some
attriutes/methods for cataloguing. These are usually "id", "title"
and (often) "PrincipiaSearchSource".

 > Also, there is a warning in the localfs help about poor
 > performance when using zcatalog support in a localfs - is this because it
 > catalogs all content with each query, and does not actually store the
 > results in zcatalog?
I do not think so...

But, when you have mapped a really big hiearchy into Zope and then
index it, it may take quite a bit of time....


Dieter