Hi,

I built an index with 20.000 records using Zend_Search_Lucene. When
searching this index I get this error:

"Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to
allocate 128 bytes) in
/home/devhost/newproject/library/Zend/Search/Lucene.php on line 1080"

The problem is that I always need to read the full index because the
results limiting does not give the best N results but only the first N
results. See

http://framework.zend.com/manual/en/zend.search.lucene.searching.html#zend.search.lucene.searching.results-limiting

This is annoying, because I have to read all entries from the index and
then do the results limiting within my action / model. I knew that ZSL
does have some performance issues, but I did not expect them to start
with just 20.000 records.

Any advise / thoughts?

Best regards,

Ralf

Reply via email to