Home:ALL Converter>How to improve Zend Lucene performance?

How to improve Zend Lucene performance?

Ask Time:2012-05-13T03:07:51         Author:Jacek Francuz

Json Formatter

I am currently struggling to speed up my Zend Lucene index. It contains about 1M documents. In some cases it takes up to 0.4 sec to search through it. It is not acceptable. I wish it could return results within 0.1 sec max.

The documentation does not contain any information about performance issues of the engine except it says the engine is well-scalable. The only thing I have learned is possibility of using optimize() method. This is not enough, though. Thus, I have two questions:

  1. Does order of fields added to each row (document) matter (in terms of performance)?

  2. Are there any additional parameters I could use to possibly speed it up? Perhaps it could be some parameter used for indexing or some server setting (more memory, etc.)

Author:Jacek Francuz,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/10566595/how-to-improve-zend-lucene-performance
yy