Discussion:
Zend_Search_Lucene: files still available after deletion
Ralf Eggert
2008-01-03 13:15:46 UTC
Permalink
Hi,

I have another question regarding Zend_Search_Lucene. I use a couple of
unit tests to build the index. These tests add some documents to the
index and delete these again. After running the tests a couple of times,
the directory for the index is packed with files that I assume to be
relicts from these deleted documents. These files start with an
underscore "_" and end on ".frq", ".prx", ".tii" and ".tis"

I thought that after the deletion of my documents and calling the
optimize() method, these files should be cleared. Is this wrong?

Wenn I call the $index->count() and $index->numDocs() methods I get 0 as
a result, but still these files exist. Is there another tidy method or
anything else I need to do?

Thanks and Best Regards,

Ralf

Loading...