You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/07/24 23:44:40 UTC

[jira] [Commented] (SOLR-6267) Let user override Interval Faceting key with LocalParams

    [ https://issues.apache.org/jira/browse/SOLR-6267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14073693#comment-14073693 ] 

ASF subversion and git services commented on SOLR-6267:
-------------------------------------------------------

Commit 1613308 from [~erickoerickson] in branch 'dev/trunk'
[ https://svn.apache.org/r1613308 ]

SOLR-6267: Let user override Interval Faceting key with LocalParams. Thanks Tomas

> Let user override Interval Faceting key with LocalParams
> --------------------------------------------------------
>
>                 Key: SOLR-6267
>                 URL: https://issues.apache.org/jira/browse/SOLR-6267
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Tomás Fernández Löbbe
>            Assignee: Erick Erickson
>         Attachments: SOLR-6267.patch
>
>
> This issue is related to Interval Faceting, being worked at SOLR-6216. Right now they key of each interval is the string of the interval as entered in the request. For example:
> {noformat}
> [*,20)
> [20,40)
> [40,*]
> {noformat}
> would output something like
> {noformat}
> "facet_intervals":{
>       "size":{
>         "[*,20)":3,
>         "[20,40)":4,
>         "[40,*]":9}}
> {noformat}
> It would be good to be able to override the "key" per interval using local params, for example:
> {noformat}
> {!key='small'}[,20)
> {!key='medium'}[20,40)
> {!key='large'}[40,]
> {noformat}
> Would output:
> {noformat}
> "facet_intervals":{
>       "size":{
>         "small":3,
>         "medium":4,
>         "large":9}}
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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