[Zope] Large TextIndexNG problem

David Mackay mackay_d@bellsouth.net
Mon, 09 Dec 2002 09:11:40 -0600


PieterB wrote:
>>I am having a problem creating an index for about 276,000 documents.  I 
>>successfully created a TextIndexNG index for the documents by indexing 
>>50,000 at a time.   
>>[snip]
> 
> 
>>However, the database 
>>size is now 2023.7M.  
> 
> Are you sure your Python has large file support (>2Gb).
> Check out:
> http://zope.org/Members/beacon/install_instructions
> 
> To check if the Python version your using has large file support
> enabled, start the intepreter and open a file [ f=open('temp', 'w') ]
> and call [ f.tell() ] it should return a long [ 0L ] if LFS i enabled.
> (otherwise it returns an integer [ 0 ])
> 
> Search for "LFS" or "Large file support" to get more info how to fix it.

Thanks.  I got an integer, so that's the problem.

Dave