[ 
https://issues.apache.org/jira/browse/SOLR-4330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Koji Sekiguchi resolved SOLR-4330.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 3.6.3
                   5.0
                   4.2
    
> 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
>             Fix For: 4.2, 5.0, 3.6.3
>
>         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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to