Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 76437 invoked from network); 30 Nov 2010 09:33:36 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 30 Nov 2010 09:33:36 -0000 Received: (qmail 56587 invoked by uid 500); 30 Nov 2010 09:33:35 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 56185 invoked by uid 500); 30 Nov 2010 09:33:35 -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 56178 invoked by uid 99); 30 Nov 2010 09:33:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Nov 2010 09:33:34 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Nov 2010 09:33:32 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oAU9XA7q008643 for ; Tue, 30 Nov 2010 09:33:10 GMT Message-ID: <1473361.21391291109590611.JavaMail.jira@thor> Date: Tue, 30 Nov 2010 04:33:10 -0500 (EST) From: "Michael McCandless (JIRA)" To: dev@lucene.apache.org Subject: [jira] Created: (LUCENE-2785) TopFieldCollector throws AIOOBE if numHits is 0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org TopFieldCollector throws AIOOBE if numHits is 0 ----------------------------------------------- Key: LUCENE-2785 URL: https://issues.apache.org/jira/browse/LUCENE-2785 Project: Lucene - Java Issue Type: Bug Components: Search Reporter: Michael McCandless Priority: Minor Fix For: 3.1, 4.0 See solr-user thread "ArrayIndexOutOfBoundsException for query with rows=0 and sort param". I think we should just create a null collector (only tallies up totalHits) if numHits is 0? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org