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

Chris M. Hostetter resolved SOLR-17836.
---------------------------------------
    Resolution: Not A Problem

> JSON FACET API Error: cant add gap to value for field 
> ------------------------------------------------------
>
>                 Key: SOLR-17836
>                 URL: https://issues.apache.org/jira/browse/SOLR-17836
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 9.8.1
>            Reporter: Arsal Jalib
>            Priority: Minor
>
> Running the following query via a request give the following error:
> [/solr/mindex|http://172.189.48.140/solr/m]/select?json.facet={
>   last14Days:
> {     type:range,     field:ReleaseDate_PT1,     start:"NOW-2MONTH/DAY",     
> end:"NOW/DAY",     gap:"+1DAY"   }
> }
> lst name="error">
> <lst name="metadata">
> <str name="error-class">org.apache.solr.common.SolrException</str>
> <str name="root-error-class">java.text.ParseException</str>
> </lst>
> <str name="msg">Can't add gap 1DAY to value Thu Jun 05 00:00:00 UTC 2025 for 
> field: ReleaseDate_PT1</str>
> <int name="code">400</int>
> </lst>
> </response>
> However the same JSON when entered using the json.facet text box in the Admin 
> UI, it returns results fine.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to