This error can also be reported from reading the .tii file and seeing that the 
index term count > 32bit value.  Is there a chance your index is full of an 
incredible amount of unique terms?

It could also be:  a corrupt index.

I *think* this is the only place that error is really reported in the 
Zend_Search_Lucene version.

If you index is small enough, I could check it to be sure (if you are 
comfortable sharing it) -- or you can check it by opening it in the Java 
version as a comparison.  Would be good to know if it is the index being 
corrupted, or a bug elsewhere.  Although this is pretty simple code that 
reports the error so I'm betting on corrupt index or large number of unique 
terms as a backup guess.

--j

On 2010-01-22, at 3:18 AM, stef25 wrote:

> 
> We run a ZF site that uses Lucene as the search engine. Recently it stopped
> working and the only message I can get the system to show is
> 
> [message:protected] => Largest supported segment size (for 32-bit mode) is
> 2Gb
> 
> However the site is a relatively small one and the indexes are nowhere near
> 2GB. I'm trying to optimize() the index via
> 
> $index = Zend_Search_Lucene::open('/www/site-name/staging/data/shopIndex');
> $index->optimize();
> 
> But the above error message is triggered by the first line, so I can't get
> to the optimize function. Does anyone know what causes this error (if the
> index size is nowhere near 2GB) and how it could be fixed?
> -- 
> View this message in context: 
> http://n4.nabble.com/Zend-Search-Lucene-issue-tp1099952p1099952.html
> Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to