[ 
https://issues.apache.org/jira/browse/LUCENE-3191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13056629#comment-13056629
 ] 

Robert Muir commented on LUCENE-3191:
-------------------------------------

also remember, when you call newSearcher, it optionally takes a default boolean 
parameter (maybeWrap, default=true).

So tests sensitive to stuff like this can just pass false here... in general I 
think beefing up newSearcher with stuff like this is a good idea, so far adding 
logic here (randomly use executor, randomly use slowwrapper, etc) has always 
found some bugs... eventually


> Add TopDocs.merge to merge multiple TopDocs
> -------------------------------------------
>
>                 Key: LUCENE-3191
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3191
>             Project: Lucene - Java
>          Issue Type: Improvement
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: 3.3, 4.0
>
>         Attachments: LUCENE-3191-3x.patch, 
> LUCENE-3191-SlowCollatorCompareFix.patch, 
> LUCENE-3191-SlowCollatorCompareFix.patch, LUCENE-3191.patch, 
> LUCENE-3191.patch, LUCENE-3191.patch, LUCENE-3191.patch, LUCENE-3191.patch
>
>
> It's not easy today to merge TopDocs, eg produced by multiple shards,
> supporting arbitrary Sort.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to