lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Lea <>
Subject Re: RAMDirectory and inner Structure
Date Fri, 19 Feb 2010 14:39:16 GMT

> currently I'm working on a students project including a lucene index. It's a
> kind of search engine working on extracted data from the web.
> It's working pretty good, but now I'm curious about two things:
> - when is it usefull to use a RAMDirectory? Is there a number of documents
> in an index that will make it too slow when not using a RAMDirectory or is
> there any other hint?

Lucene is rarely too slow!  Basically you can use RAMDirectory for
transient indexes that fit in RAM.
Anything else and you'll need to look elsewhere, presumably to
FSDirectory or maybe MMapDirectory

> - how are lucene indexes build behind the curtain? How is one organized
> inside? I could not find anything about its inner structure.



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message