IndexSearcher[] searchers = new IndexSearcher[2];
searchers[0] = new IndexSearcher(m_indexpath);
searchers[1] = new IndexSearcher(m_outindexpath);
MultiSearcher multiSearcher = new MultiSearcher(searchers);
TopScoreDocCollector collector = TopScoreDocCollector.create(10, false);
ScoreDoc[] hits = collector.topDocs().scoreDocs;