Has anyone ever tried storing a lucene index in shared memory? If we
properly use semaphores to control access, are we going to have any
problems?

 

We have a huge lucene index, and we're trying to get its memory
footprint smaller. 

 

Unfortunately, we didn't really follow best practices when we designed
our search engine and we indexed a lot of non-text fields. As a result,
Zend_Search_Lucene runs amok; it uses a TON of ram (lmore than 1GB).

 

The obvious solution is to reduce the number of non-text fields we
index. However, we'd really like to avoid that kind of refactoring at
this stage in our app development. I'm trying to explore our other
options.

 

So, does anyone have any suggestions for using shared memory and/or
reducing our memory footprint using Zend_Search_Lucene?

 

Thank you,

 

Kevin

 

Reply via email to