Quote:
1. Batch manual indexing every 15 minutes
Sure you can do that. Provided 15 minutes is enough to re-index. The question is more why you want to do that and why you can not rely on the automatic index updates? Search performance will suffer while you re-indexing. Maybe you should use the master/slave setup? You could re-index on the master and regularly (eg every 15 minutes) update the slave indexes. But it all depends on your requirements.
Quote:
2. Optimizing the index occasionally without purging
Optimizing and purging are orthogonal. In fact there is no point to optimize the index if you just purged it. Optimizing is useful after a batch index or in regular intervals during automatic index synchronization.
Quote:
What is the effect of avoiding purging since optimizing seems to clean up the index?
Purging removed all entities of the specified class (or the whole index). In the Lucene context this means that the documents are marked for deletion. They are not searchable anymore, but the data is actually still in the index. Optimizing will then remove the data and perform an update of the index data structure. Just optimizing the index has nothing to do with purging. If you haven't deleted some documents before optimized is called nothing will be removed.
--Hardy