2010/2/12 Tim Terlegård <tim.terleg...@gmail.com>

> Does Solr use some sort of a persistent cache?
>
> I do this 10 times in a loop:
>  * start solr
>  * create a core
>  * execute warmup query
>  * execute query with sort fields
>  * stop solr
>
> Executing the query with sort fields takes 5-20 times longer the first
> iteration than the other 9 iterations. For instance I have a query
> 'hockey' with one date sort field. That takes 768 ms in the first
> iteration of the loop. The next 9 iterations the query takes 52 ms.
> The solr and jetty server really stops in each iteration so the RAM
> must be emptied. So the only way I can think of why this happens is
> because there is some persistent cache that survives the solr
> restarts. Is this the case? Or why could this be?
>
>
Solr does not have a persistent cache. That is the operating system's file
cache at work.

-- 
Regards,
Shalin Shekhar Mangar.

Reply via email to