[jira] [Commented] (SOLR-3177) Excluding tagged filter in StatsComponent
[ https://issues.apache.org/jira/browse/SOLR-3177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13649604#comment-13649604 ] Alexander Buhr commented on SOLR-3177: -- is this going to be released at some point? > Excluding tagged filter in StatsComponent > - > > Key: SOLR-3177 > URL: https://issues.apache.org/jira/browse/SOLR-3177 > Project: Solr > Issue Type: Improvement > Components: SearchComponents - other >Affects Versions: 3.5, 3.6, 4.0-ALPHA, 4.1 >Reporter: Mathias H. >Priority: Minor > Labels: localparams, stats, statscomponent > Attachments: SOLR-3177.patch > > > It would be useful to exclude the effects of some "fq" params from the set of > documents used to compute stats -- similar to > how you can exclude tagged filters when generating facet counts... > https://wiki.apache.org/solr/SimpleFacetParameters#Tagging_and_excluding_Filters > So that it's possible to do something like this... > http://localhost:8983/solr/select?fq={!tag=priceFilter}price:[1 TO > 20]q=*:*&stats=true&stats.field={!ex=priceFilter}price > If you want to create a price slider this is very useful because then you can > filter the price ([1 TO 20) and nevertheless get the lower and upper bound of > the unfiltered price (min=0, max=100): > {noformat} > |<-[---]-->| > $0 $1 $20$100 > {noformat} -- 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-tabpanel&focusedCommentId=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=xml&indent=true&facet=true&facet.field=ListPrice_EUR_INV&f.ListPrice_EUR_INV.facet.sort=index'{noformat} > includes the following facet-counts: > {noformat} > 1 > 1 > 1 > {noformat} > If I also set the parameter *'facet.mincount=1'* in the query, the order of > the facet-counts is reversed. > {noformat} > 1 > 1 > 1 > {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] [Created] (SOLR-4581) sort-order of facet-counts depends on facet.mincount
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} 1 1 1 {noformat} If I also set the parameter *'facet.mincount=1'* in the query, the order of the facet-counts is reversed. {noformat} 1 1 1 {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