I have several lucene.net indexes that I will need to search for the query string. So will I need to open a new IndexSearcher for all of these indexes, or can I achieve this with a single IndexSearcher?
thanks
This can be done using MultiSearcher .
It implements the Searchable interface for several researchers. If you only need methods from the Searchable interface, it will look like a regular IndexSearcher.
If you need to access the main search engines that found the document, you can use the subSearcher(int) and subDoc(int) methods.
subSearcher(int)
subDoc(int)
http://lucene.apache.org/java/2_9_4/api/core/org/apache/lucene/search/MultiSearcher.html