lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-4164) Result Grouping fails if no hits
Date Wed, 26 Oct 2016 16:57:58 GMT

    [ https://issues.apache.org/jira/browse/SOLR-4164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15609003#comment-15609003
] 

ASF subversion and git services commented on SOLR-4164:
-------------------------------------------------------

Commit 65f9b4dc4c209dfa06aa72386f6a9bbb67a5a667 in lucene-solr's branch refs/heads/branch_6x
from [~yonik@apache.org]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=65f9b4d ]

SOLR-4164: fix group.limit=-1 in distributed mode


> Result Grouping fails if no hits
> --------------------------------
>
>                 Key: SOLR-4164
>                 URL: https://issues.apache.org/jira/browse/SOLR-4164
>             Project: Solr
>          Issue Type: Bug
>          Components: SearchComponents - other, SolrCloud
>    Affects Versions: 4.0
>            Reporter: Lance Norskog
>            Assignee: Cao Manh Dat
>         Attachments: SOLR-4164.patch
>
>
> In SolrCloud, found a result grouping bug in the 4.0 release.
> A distributed result grouping request under SolrCloud got this result:
> {noformat}
> Dec 10, 2012 10:32:07 PM org.apache.solr.common.SolrException log
> SEVERE: null:java.lang.IllegalArgumentException: numHits must be > 0; please use TotalHitCountCollector
if you just need the total hit count
>         at org.apache.lucene.search.TopFieldCollector.create(TopFieldCollector.java:1120)
>         at org.apache.lucene.search.TopFieldCollector.create(TopFieldCollector.java:1069)
>         at org.apache.lucene.search.grouping.AbstractSecondPassGroupingCollector.<init>(AbstractSecondPassGroupingCollector.java:75)
>         at org.apache.lucene.search.grouping.term.TermSecondPassGroupingCollector.<init>(TermSecondPassGroupingCollector.java:49)
>         at org.apache.solr.search.grouping.distributed.command.TopGroupsFieldCommand.create(TopGroupsFieldCommand.java:128)
>         at org.apache.solr.search.grouping.CommandHandler.execute(CommandHandler.java:132)
>         at org.apache.solr.handler.component.QueryComponent.process(QueryComponent.java:339)
>         at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:206)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message