Re: Single IndexReader vs Single IndexSearcher

2008-05-29 Thread Mark Miller
Vinicius Carvalho wrote: Hello there! My application uses multiple indexes, so I create a multireader based on my indexreaders. What I've done is create a Map of Readers, and whenever the user needs a reader I iterate over my collection, checking if it is the current index, if not I reopen it, el

Single IndexReader vs Single IndexSearcher

2008-05-29 Thread Vinicius Carvalho
Hello there! My application uses multiple indexes, so I create a multireader based on my indexreaders. What I've done is create a Map of Readers, and whenever the user needs a reader I iterate over my collection, checking if it is the current index, if not I reopen it, else, I add it to my multirea