Hi:
What is the difference between using:
1) MultiReader reader=; // create multi reader from different indexes
IndexSearcher searcher=new IndexSearcher(reader);
searcher.search();
vs.
2) IndexSearcher searcher1=...
IndexSearcher searcher 2=..
MultiSearcher searcher=new
MultiReader is more efficient and is preferred when possible.
MultiSearcher allows further functionality.
Every time an index has more than a single segment (which is.
to say almost every index except for after calling optimize()),
Opening an IndexReader (or an IndexSearcher) above that index),
is