You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Commit Tag Bot (JIRA)" <ji...@apache.org> on 2013/01/22 12:28:15 UTC

[jira] [Commented] (SOLR-4330) group.sort is ignored when using truncate and ex/tag local params

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

Commit Tag Bot commented on SOLR-4330:
--------------------------------------

[trunk commit] Koji Sekiguchi
http://svn.apache.org/viewvc?view=revision&revision=1436837

SOLR-4330: group.sort is ignored when using group.truncate and ex/tag local params together

                
> group.sort is ignored when using truncate and ex/tag local params
> -----------------------------------------------------------------
>
>                 Key: SOLR-4330
>                 URL: https://issues.apache.org/jira/browse/SOLR-4330
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 3.6, 4.0, 4.1, 5.0
>            Reporter: Koji Sekiguchi
>            Assignee: Koji Sekiguchi
>            Priority: Trivial
>         Attachments: SOLR-4330.patch, SOLR-4330.patch
>
>
> In parseParams method of SimpleFacets, as group sort is not set after creating grouping object, member variable groupSort is always null. Because of it, AbstractAllGroupHeadsCollector with default sort (new Sort()) is created all the time.
> {code}
> public AbstractAllGroupHeadsCollector<?> createAllGroupCollector() throws IOException {
>   Sort sortWithinGroup = groupSort != null ? groupSort : new Sort();
>   return TermAllGroupHeadsCollector.create(groupBy, sortWithinGroup);
> }
> {code}

--
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