It¹s a command like this just prior to jetty startup:
find -L <solrhome dir> -type f -exec cat {} > /dev/null \;
On 7/24/14, 2:11 PM, "Toke Eskildsen" <[email protected]> wrote:
>Jeff Wartes [[email protected]] wrote:
>> Well, I¹m not sure what to say. I¹ve been observing a noticeable latency
>> decrease over the first few thousand queries.
>
>How exactly do you get the index files fully cached? The cp-command will
>(at least for some systems) happily skip copying if the destination is
>/dev/null. One way is to ensure caching is to cat all the files to
>/dev/null.
>
>- Toke Eskildsen