Hello,

I have been using a large, in memory MultiSearcher that
is reaching the limits of my hardware RAM with this code:

      try
         {
         IndexSearcher[] searcher_a=
            {
            new IndexSearcher(new RAMDirectory(index_one_path)),
            new IndexSearcher(new RAMDirectory(index_two_path)),
            new IndexSearcher(new RAMDirectory(index_thee_path)),
            new IndexSearcher(new RAMDirectory(index_four_path)),
            new IndexSearcher(new RAMDirectory(index_n_path))
            };

         MultiSearcher searcher_ms=new MultiSearcher(searcher_a);
        ...
         }
      catch(Exception e)
         {
         System.out.println(e);
         }

For example, one of several indexes is 768MB. Is there possibly a better way to do this?

Regards,

Peter W.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to