Re: Ramdirectory

2011-02-25 Thread Matt Weber
I have used this without issue.  In the example solrconfig.xml replace
this line:

directoryFactory name=DirectoryFactory
class=${solr.directoryFactory:solr.StandardDirectoryFactory}/

with this one:

directoryFactory name=DirectoryFactory class=solr.RAMDirectoryFactory/

Thanks,
Matt Weber

On Thu, Feb 24, 2011 at 7:47 PM, Bill Bell billnb...@gmail.com wrote:
 Thanks - yeah that is why I asked how to use it. But I still don't know
 how to use it.

 https://hudson.apache.org/hudson/job/Solr-3.x/javadoc/org/apache/solr/core/
 RAMDirectoryFactory.html


 https://issues.apache.org/jira/browse/SOLR-465

 directoryProvider class=org.apache.lucene.store.RAMDirectory
 !-- Parameters as required by the implementation --
 /directoryProvider


 Is that right? Examples? Options?

 Where do I put that in solrconfig.xml ? Do I put it in
 mainIndex/directoryProvider ?

 I know that SOLR-465 is more generic, but
 https://issues.apache.org/jira/browse/SOLR-480 seems easier to use.



 Thanks.


 On 2/24/11 6:21 PM, Chris Hostetter hossman_luc...@fucit.org wrote:


: I could not figure out how to setup the ramdirectory option in
solrconfig.XML. Does anyone have an example for 1.4?

it wasn't an option in 1.4.

as Koji had already mentioned in the other thread where you chimed in
and asked about this, it was added in the 3x branch...

http://lucene.472066.n3.nabble.com/Question-Solr-Index-main-in-RAM-td25671
66.html



-Hoss






-- 
Thanks,
Matt Weber


Re: Ramdirectory

2011-02-24 Thread Chris Hostetter

: I could not figure out how to setup the ramdirectory option in 
solrconfig.XML. Does anyone have an example for 1.4?

it wasn't an option in 1.4.

as Koji had already mentioned in the other thread where you chimed in
and asked about this, it was added in the 3x branch...

http://lucene.472066.n3.nabble.com/Question-Solr-Index-main-in-RAM-td2567166.html



-Hoss


Re: Ramdirectory

2011-02-24 Thread Bill Bell
Thanks - yeah that is why I asked how to use it. But I still don't know
how to use it.

https://hudson.apache.org/hudson/job/Solr-3.x/javadoc/org/apache/solr/core/
RAMDirectoryFactory.html


https://issues.apache.org/jira/browse/SOLR-465

directoryProvider class=org.apache.lucene.store.RAMDirectory
!-- Parameters as required by the implementation --
/directoryProvider


Is that right? Examples? Options?

Where do I put that in solrconfig.xml ? Do I put it in
mainIndex/directoryProvider ?

I know that SOLR-465 is more generic, but
https://issues.apache.org/jira/browse/SOLR-480 seems easier to use.



Thanks.


On 2/24/11 6:21 PM, Chris Hostetter hossman_luc...@fucit.org wrote:


: I could not figure out how to setup the ramdirectory option in
solrconfig.XML. Does anyone have an example for 1.4?

it wasn't an option in 1.4.

as Koji had already mentioned in the other thread where you chimed in
and asked about this, it was added in the 3x branch...

http://lucene.472066.n3.nabble.com/Question-Solr-Index-main-in-RAM-td25671
66.html



-Hoss




Re: RAMDirectory

2007-12-29 Thread Otis Gospodnetic
Hi,

If you have enough RAM to load the whole index into RAM using RAMDirectory, 
then you could also just use tmpfs to load your index in RAM... tmpfs exists 
under Linux, Solaris, and BSD, I believe.

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

- Original Message 
From: s d [EMAIL PROTECTED]
To: solr-user@lucene.apache.org
Sent: Thursday, December 27, 2007 8:18:14 PM
Subject: RAMDirectory

Is there a way to use RAMDirectory with SOLR?If you can point me to
documentation that would be great.
Thanks,
S





RE: RAMDirectory

2007-09-22 Thread Jeryl Cook
not yet implemented ,hopefully soon :

http://jira.terracotta.org/jira/browse/CDV-399



Jeryl Cook 



/^\ Pharaoh /^\ 

http://pharaohofkush.blogspot.com/ 



..Act your age, and not your shoe size..

-Prince(1986)

 Date: Sat, 22 Sep 2007 15:33:58 -0400
 From: [EMAIL PROTECTED]
 To: solr-user@lucene.apache.org
 Subject: RAMDirectory
 
 HI,
 
 Does any know how to use RAM disk for index?
 
 Thanks,
 
 Jae Jo,