You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Tomás Fernández Löbbe (JIRA)" <ji...@apache.org> on 2015/02/08 20:56:34 UTC
[jira] [Updated] (SOLR-7019) Can't change the field key for
interval faceting
[ 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org