Several options:

- use tmpfs (loads everything in RAM)
- force the FS/OS to cache your index (e.g. cat /path/to/index/* > /dev/null)
- warm up your index well (e.g. *:* + sort queries if you sort)
- make use of Solr caches


Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch



----- Original Message ----
> From: mirage1987 <mirage1...@gmail.com>
> To: solr-user@lucene.apache.org
> Sent: Thursday, April 30, 2009 6:25:27 AM
> Subject: Getting better performance frm Solr
> 
> 
> hi,
>      I was wondering how we can improve the query response time from solr.
> Is it possible to put my index into ram to increase performance.Does solr
> provide any such functionality???
> (like RAMDirectory in lucene.) (working on linux)
> I tried to put the index in /dev/shm/ but didn't get ny performance boost
> relative to when i had it on disk.
> (my index is around 600 MB and i have plenty of ram 8gb)
> 
> My underlying lucene is providing an avg queryresponse time of 84 ms
> Any idea how much solr would add to this??....can i reduce that time???
> 
> Thanx.
> 
> 
> 
> -- 
> View this message in context: 
> http://www.nabble.com/Getting-better-performance-frm-Solr-tp23313500p23313500.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to