lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrien Grand <jpou...@gmail.com>
Subject Re: svn commit: r1459400 - in /lucene/dev/trunk/lucene: ./ core/src/java/org/apache/lucene/search/ core/src/test/org/apache/lucene/search/
Date Thu, 21 Mar 2013 17:27:04 GMT
On Thu, Mar 21, 2013 at 6:18 PM, Robert Muir <rcmuir@gmail.com> wrote:
> Its not clear to me that this works when IndexSearcher has an executorService.

It works because the executed callables use the IndexSearcher.search
wich has been modified to deal with CollectionTerminatedException
(they just pass a singleton leaf context instead of all the reader's
leaves).

>  can the test use newSearcher or something?

Good point, I didn't know about this method. I'll improve the test.

--
Adrien

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message