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

Apoorv Bhawsar updated SOLR-13272:
----------------------------------
    Description: 
Interval facet is supported in classical facet component but has no support in 
json facet requests.
 In cases of block join and aggregations, this would be helpful

Assuming request format -
{code:java}
json.facet={pubyear:{type : interval,field : 
pubyear_i,intervals:[{key:"2000-2200",value:"[2000,2200]"}]}}
{code}
 
 PR 
[https://github.com/apache/lucene-solr/pull/597|https://github.com/apache/lucene-solr/pull/593]

  was:
Interval facet is supported in classical facet component but has no support in 
json facet requests.
 In cases of block join and aggregations, this would be helpful

Assuming request format -
{code:java}
json.facet={pubyear:{type : range,field : 
pubyear_i,intervals:[{key:"2000-2200",value:"[2000,2200]"}]}}
{code}
 
 PR 
[https://github.com/apache/lucene-solr/pull/597|https://github.com/apache/lucene-solr/pull/593]


> Interval facet support for JSON faceting
> ----------------------------------------
>
>                 Key: SOLR-13272
>                 URL: https://issues.apache.org/jira/browse/SOLR-13272
>             Project: Solr
>          Issue Type: New Feature
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Facet Module
>            Reporter: Apoorv Bhawsar
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Interval facet is supported in classical facet component but has no support 
> in json facet requests.
>  In cases of block join and aggregations, this would be helpful
> Assuming request format -
> {code:java}
> json.facet={pubyear:{type : interval,field : 
> pubyear_i,intervals:[{key:"2000-2200",value:"[2000,2200]"}]}}
> {code}
>  
>  PR 
> [https://github.com/apache/lucene-solr/pull/597|https://github.com/apache/lucene-solr/pull/593]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to