Hi Adam, Zend_Search_Lucene doesn't need RAMDirectories support.
Apache Lucene (Java implementation) uses RAMDirectories as a temporary storage for just added documents. It generates new segment for each new document, then merges them through standard merging procedure (also in RAM directory). When merged segment size reaches MaxBufferedDocs, then it's flushed. Zend_Search_Lucene collects added documents in memory using its own data structures and flushes them into new segment when number of added documents reaches MaxBufferedDocs parameter or at the end of script. Filesystem cache gives good enough results to be independent from HD I/O speed. With best regards, Alexander Veremyev. > -----Original Message----- > From: Adam Ratcliffe [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 07, 2007 10:29 AM > To: fw-general@lists.zend.com > Subject: [fw-general] Zend_Search_Lucene - RAMDirectory Support > > Is there support for RAMDirectories in Zend_Search_Lucene? I > would like to load a filesystem-based index as a RAMDirectory > to compare performance with searching the index on the filesystem. > > Cheers > Adam >