: >         IndexSearcher[] searchers;
: >         searchers=new IndexSearcher[3];
: >         String path="/home/sn/public_html/";
: >         searchers[0]=new IndexSearcher(path+"index1");
: >         searchers[1]=new IndexSearcher(path+"index2");
: >         searchers[2]=new IndexSearcher(path+"index3");
: >         MultiSearcher saercher=new MultiSearcher(searchers);

: Above you've opened the searcher for each search, exactly as I feared. This
: is a major hit. Don't do this, but keep the searchers open between calls.

in addition opening a multisearcher across several local searches is a big
wast (or so i'm told) ... you should see better performance from a single
searcher arround a MultiReader (note: multireader vs multisearcher)



-Hoss


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

Reply via email to