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

Robert Muir commented on LUCENE-4938:
-------------------------------------

Thanks for investigating. I was just not happy fixing this bug if there is 
another bug. 

In my opinion all thats needed here now is simple tests (for core lucene) that 
tests with Integer.MAX_VALUE, so that this is not tested in a confusing 
roundabout way.
                
> IndexSearcher.search() with sort doesnt do min(maxdoc, n)
> ---------------------------------------------------------
>
>                 Key: LUCENE-4938
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4938
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>         Attachments: LUCENE-4938.patch
>
>
> It does this without a sort though.
> This caused TestFunctionQuerySort.testSearchAfterWhenSortingByFunctionValues 
> to OOM (why only sometimes?)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to