MultiSearcher close

2004-12-10 Thread Ravi
If I close a MultiSearcher, does it close all the associated searchers too? I was getting a bad file descriptor error, if I close the MultiSearcher object and open it again for another search without reinstantiating the underlying searchers. Thanks in advance, Ravi

Re: MultiSearcher close

2004-12-10 Thread Erik Hatcher
On Dec 10, 2004, at 4:16 PM, Ravi wrote: If I close a MultiSearcher, does it close all the associated searchers too? It sure does: public void close() throws IOException { for (int i = 0; i searchables.length; i++) searchables[i].close(); } I was getting a bad file descriptor