At 09:27 12/06/01, Brian Goetz wrote:
>>While we are talking about scaling, does anyone know how
>>to force lucene to use ram for the entire index?
>
>That's easy. Lucene has an abstraction for file system; there's a
>disk-based file system and a memory based file system. Use RAMDirectory
>instead of FSDirectory when creating the store.
Has anyone actually used this technique successfully? I tried it 2-3 months
back and it gave me all sorts of errors when building the index of a
moderately sized set of documents. Unfortunately I can't remember what the
errors were, but I do know they were not out of memory errors.
Robert
_______________________________________________
Lucene-dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/lucene-dev