Optimizing Lucene performance

前端 未结 6 812
耶瑟儿~
耶瑟儿~ 2020-12-07 21:21

What are the various ways of optimizing Lucene performance?

Shall I use caching API to store my lucene search query so that I save on the overhead of building the qu

6条回答
  •  Happy的楠姐
    2020-12-07 21:44

    For 64 bit machines use MMapDirectory instead of RAMDirectory as very well explained here by one of the core Lucene committers.

提交回复
热议问题