[jira] [Commented] (SOLR-4581) sort-order of facet-counts depends on facet.mincount
[ https://issues.apache.org/jira/browse/SOLR-4581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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=xmlindent=truefacet=truefacet.field=ListPrice_EUR_INVf.ListPrice_EUR_INV.facet.sort=index'{noformat} includes the following facet-counts: {noformat}lst name=ListPrice_EUR_INV int name=-420.1261/int int name=-285.6721/int int name=-1.2181/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.2181/int int name=-285.6721/int int name=-420.1261/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
[jira] [Commented] (SOLR-4581) sort-order of facet-counts depends on facet.mincount
[ https://issues.apache.org/jira/browse/SOLR-4581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13626682#comment-13626682 ] Yonik Seeley commented on SOLR-4581: OK, the code from SOLR-3855 had a bug where the IEEE float bits were used/compared directly for sort order, which is not correct for negative numbers. I'm testing a patch now, expect to commit shortly. 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=xmlindent=truefacet=truefacet.field=ListPrice_EUR_INVf.ListPrice_EUR_INV.facet.sort=index'{noformat} includes the following facet-counts: {noformat}lst name=ListPrice_EUR_INV int name=-420.1261/int int name=-285.6721/int int name=-1.2181/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.2181/int int name=-285.6721/int int name=-420.1261/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
[jira] [Commented] (SOLR-4581) sort-order of facet-counts depends on facet.mincount
[ https://issues.apache.org/jira/browse/SOLR-4581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13626704#comment-13626704 ] Alexander Buhr commented on SOLR-4581: -- happy to hear this :) thx! 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=xmlindent=truefacet=truefacet.field=ListPrice_EUR_INVf.ListPrice_EUR_INV.facet.sort=index'{noformat} includes the following facet-counts: {noformat}lst name=ListPrice_EUR_INV int name=-420.1261/int int name=-285.6721/int int name=-1.2181/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.2181/int int name=-285.6721/int int name=-420.1261/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