开发者

loading whole Solr index into Ram

I know there is post on loading index开发者_运维技巧 into Ram for lucene.

Faster search in Lucene - Is there a way to keep the whole index in RAM?

But I really need it for Solr, to improve search speed. Any pointers would be helpful :) thanks


I don't think this is a good idea. It's like asking to improve speed in Windows by disabling its swapfile. Solr implements some very efficient caching mechanisms on top of Lucene, and there's also the file system cache.

If you have speed issues with Solr this is not the solution. Please post another question detailing your problems and let us recommend you a proper solution.

See also: XY Problem

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜