Alexander Buhr created SOLR-4581: ------------------------------------ Summary: 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
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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org