lucene-java-user mailing list archives

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

Hi,

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.
http://www.windowslive.com/Online/Hotmail/Campaign/QuickAdd?ocid=TXT_TAGLM_WL_QA_HM_sports_photos_072009&cat=sports
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message