Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 60ADAFF24 for ; Fri, 19 Apr 2013 15:37:46 +0000 (UTC) Received: (qmail 2057 invoked by uid 500); 19 Apr 2013 15:36:33 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 97917 invoked by uid 500); 19 Apr 2013 15:36:22 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 91024 invoked by uid 99); 19 Apr 2013 15:31:24 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Apr 2013 15:31:24 +0000 Date: Fri, 19 Apr 2013 15:31:24 +0000 (UTC) From: "Robert Muir (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (LUCENE-4938) IndexSearcher.search() with sort doesnt do min(maxdoc, n) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LUCENE-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Muir resolved LUCENE-4938. --------------------------------- Resolution: Fixed Fix Version/s: 4.4 5.0 Thanks Uwe and Mike for detective-work! > 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 > Fix For: 5.0, 4.4 > > 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-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org