On 2/18/2015 4:20 AM, Nitin Solanki wrote:
>          How can I place whole indexed data on cache by which if I will
> search any query then I will get response, suggestions, collations rapidly.
> And also how to view that which documents are on cache and how to verify it?

Simply install enough extra memory in your machine for the entire index
to fit in RAM that is not being used by programs ... and then do NOT
allocate that extra memory to any program.

The operating system will automatically do the caching for you as part
of normal operation, no config required.

https://wiki.apache.org/solr/SolrPerformanceProblems#RAM

Relevant articles referenced by that wiki page:

http://en.wikipedia.org/wiki/Page_cache
http://blog.thetaphi.de/2012/07/use-lucenes-mmapdirectory-on-64bit.html

Thanks,
Shawn

Reply via email to