[
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
This is the patch i sent to the dev list. But we should add simple tests for
this (also for the other search method).
Also i want to know how the test ever passed... is this due to something
AssertingIndexSearcher is doing?
> 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]