[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lucene-dev
Subject:    [jira] Commented: (LUCENE-2785) TopFieldCollector throws AIOOBE if
From:       "Earwin Burrfoot (JIRA)" <jira () apache ! org>
Date:       2010-11-30 11:24:12
Message-ID: 3975385.22761291116252112.JavaMail.jira () thor
[Download RAW message or body]


    [ https://issues.apache.org/jira/browse/LUCENE-2785?page=com.atlassian.jira.plugin \
.system.issuetabpanels:comment-tabpanel&focusedCommentId=12965202#action_12965202 ] 

Earwin Burrfoot commented on LUCENE-2785:
-----------------------------------------

"A Collector, that counts" - priceless.
And, yes, I have one of these too.

> 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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic