[jira] [Updated] (SOLR-7019) Can't change the field key for interval faceting

2015-02-09 Thread JIRA

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

Tomás Fernández Löbbe updated SOLR-7019:

Attachment: SOLR-7019.patch

Added tests for SolrJ and filter tagging/exclusion. 

 Can't change the field key for interval faceting
 

 Key: SOLR-7019
 URL: https://issues.apache.org/jira/browse/SOLR-7019
 Project: Solr
  Issue Type: Bug
Reporter: Tomás Fernández Löbbe
 Attachments: SOLR-7019.patch, SOLR-7019.patch


 Right now it is possible to set the key for each interval when using interval 
 faceting, but it's not possible to change the field key. For example:
 Supported: 
 {noformat}
 ...facet.interval=popularity
 facet.interval.set={!key=bad}[0,5]
 facet.interval.set={!key=good}[5,*]
 facet=true
 {noformat}
 Not Supported: 
 {noformat}
 ...facet.interval={!key=popularity}some_field
 facet.interval.set={!key=bad}[0,5]
 facet.interval.set={!key=good}[5,*]
 facet=true
 {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (SOLR-7019) Can't change the field key for interval faceting

2015-02-08 Thread JIRA

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

Tomás Fernández Löbbe updated SOLR-7019:

Attachment: SOLR-7019.patch

Here is a patch that adds the feature with test cases. No support in SolrJ yet

 Can't change the field key for interval faceting
 

 Key: SOLR-7019
 URL: https://issues.apache.org/jira/browse/SOLR-7019
 Project: Solr
  Issue Type: Bug
Reporter: Tomás Fernández Löbbe
 Attachments: SOLR-7019.patch


 Right now it is possible to set the key for each interval when using interval 
 faceting, but it's not possible to change the field key. For example:
 Supported: 
 {noformat}
 ...facet.interval=popularity
 facet.interval.set={!key=bad}[0,5]
 facet.interval.set={!key=good}[5,*]
 facet=true
 {noformat}
 Not Supported: 
 {noformat}
 ...facet.interval={!key=popularity}some_field
 facet.interval.set={!key=bad}[0,5]
 facet.interval.set={!key=good}[5,*]
 facet=true
 {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org