[Zope] searching and serving large textfiles ~120 Mb

Dieter Maurer dieter at handshake.de
Fri Dec 5 15:54:21 EST 2003


Sebastian Krollmann wrote at 2003-12-5 10:31 +0100:
>I need to access large textfiles (~120Mb) from zope. I know the python lager
>file support and that it is better to keep large files out of the ZODB.
>I have to do a full text search on these files residing in a folder hierachy
>on the server, show their content around the location of the found string
>and allow scrolling in that files source from zope.

You can do most of this even when the files are in the file system
(You would use an External Method to extract ranges on the external file).

Expect a hard time to efficiently index "positions" in your file.
I think, you will not want to search a string in a 100MB+ file
without position information (at least not often)...

-- 
Dieter



More information about the Zope mailing list