lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-4581) sort-order of facet-counts depends on facet.mincount
Date Tue, 09 Apr 2013 13:28:18 GMT

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

Yonik Seeley commented on SOLR-4581:
------------------------------------

It looks like this is a new bug due to the new faceting code introduced in SOLR-3855

                
> sort-order of facet-counts depends on facet.mincount
> ----------------------------------------------------
>
>                 Key: SOLR-4581
>                 URL: https://issues.apache.org/jira/browse/SOLR-4581
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.2
>            Reporter: Alexander Buhr
>            Assignee: Yonik Seeley
>         Attachments: SOLR-4581.patch, SOLR-4581.patch
>
>
> I just upgraded to Solr 4.2 and cannot explain the following behaviour:
> I am using a solr.TrieDoubleField named 'ListPrice_EUR_INV' as a facet-field. The solr-response
for the query {noformat}'solr/Products/select?q=*%3A*&wt=xml&indent=true&facet=true&facet.field=ListPrice_EUR_INV&f.ListPrice_EUR_INV.facet.sort=index'{noformat}
> includes the following facet-counts:
> {noformat}<lst name="ListPrice_EUR_INV">
>   <int name="-420.126">1</int>
>   <int name="-285.672">1</int>
>   <int name="-1.218">1</int>
> </lst>{noformat}
> If I also set the parameter *'facet.mincount=1'* in the query, the order of the facet-counts
is reversed.
> {noformat}<lst name="ListPrice_EUR_INV">
>   <int name="-1.218">1</int>
>   <int name="-285.672">1</int>
>   <int name="-420.126">1</int>
> </lst>{noformat}
> I would have expected, that the sort-order of the facet-counts is not affected by the
facet.mincount parameter, as it is in Solr 4.1.
> Is this related to SOLR-2850? 

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


Mime
View raw message