lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-4938) IndexSearcher.search() with sort doesnt do min(maxdoc, n)
Date Fri, 19 Apr 2013 13:15:17 GMT

    [ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message