Marin Krkač
2007-06-20 08:31:35 UTC
I'm using CLucene to optimize my search index. Optimization is done
after each update and updating is done in batches of up to several
hundred documents. If a document is updated (i.e., if it needs to be
removed from the index and re-indexed), I'm also using CLucene to remove
it from the search index prior to re-indexing it with Zend_Search_Lucene.
If I empty the search index and re-index everything, there is only one
big .cfs file in the search index. Later on, as documents are getting
updated (removed and re-indexed), my index just keeps growing. If I look
inside it, I see dozens of smaller .sti files in addition to one big
.cfs file.
I would appreciate any help in figuring out what's causing this (it
might be CLucene rather than Zend_Search_Lucene).
after each update and updating is done in batches of up to several
hundred documents. If a document is updated (i.e., if it needs to be
removed from the index and re-indexed), I'm also using CLucene to remove
it from the search index prior to re-indexing it with Zend_Search_Lucene.
If I empty the search index and re-index everything, there is only one
big .cfs file in the search index. Later on, as documents are getting
updated (removed and re-indexed), my index just keeps growing. If I look
inside it, I see dozens of smaller .sti files in addition to one big
.cfs file.
I would appreciate any help in figuring out what's causing this (it
might be CLucene rather than Zend_Search_Lucene).