Aditya
Aditya

Reputation: 128

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

Upvotes: 0

Views: 1061

Answers (1)

Mauricio Scheffer
Mauricio Scheffer

Reputation: 99720

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

Upvotes: 1

Related Questions