I have some questions related to the Zend Framework Search Lucene. I want to 
implement a fast and scalable directory system and I need to understand some 
things.

1. I read that  Zend_Search_Lucene::optimize()function merges all index 
segments into new one. Won't this single segment become to big in time? Or the 
optimize process will create more segments with a maximum number of documents 
(MaxMergeDocs variable is used in this case for the maximum number)? 

2. Is the optimize process automatic?

3. When I must use commit? Only after delete operation? Or I must use it after 
add operations as well. Is it an automatic process? What happens after 
MaxBufferedDocs is reached?

4. I didn't find anywhere  details about zend search performance. Any 
benchmarks? Can u estimate how it will behave with 2 millions of documents? 
Each document will have a maximum 400 characters length (this text is indexed).



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to