duanping1920 2012-06-07 06:51
浏览 38
已采纳

何时在使用zend_search_lucene时调用优化函数?

I am using zend_search_lucene for indexing documents and I am in dilemma on calling optimize function.

Please let me know if optimize function is to be called after indexing or while searching.

Thanks

  • 写回答

1条回答 默认 最新

  • duanfang2708 2012-06-07 07:44
    关注

    You need not call it that often. Depending on how fast your index changes, you can call it every few hours or days. I usually have a once-a-day cronjob that does index optimizing.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?