lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dragon Fly <>
Subject Loading an index into memory
Date Thu, 23 Jul 2009 13:37:42 GMT


I have a question regarding RAMDirectory.  I have a 5 GB index on disk and it is opened like
the following:

  searcher = new IndexSearcher (new RAMDirectory (indexDirectory));

Approximately how much memory is needed to load the index? 5GB of memory or 10GB because of
Unicode? Does the entire index get loaded into memory or only parts of it? Thank you.

Windows Liveā„¢ HotmailĀ®: Celebrate the moment with your favorite sports pics. Check it out.
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message