[ https://issues.apache.org/jira/browse/LUCENE-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Muir updated LUCENE-4938: -------------------------------- Attachment: LUCENE-4938.patch oh it was just one missing place: fixed here. Test passes now. > 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, LUCENE-4938.patch, 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org