[ https://issues.apache.org/jira/browse/SOLR-15492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17810331#comment-17810331 ]
Jochen commented on SOLR-15492: ------------------------------- I think, all we can do is allow all strings. I currently have a work around to create the RangeFacetMap with long values and then use Map interface to set the strings afterwards > Add another constructor do RangeFacetMap > ---------------------------------------- > > Key: SOLR-15492 > URL: https://issues.apache.org/jira/browse/SOLR-15492 > Project: Solr > Issue Type: Wish > Components: clients - java > Affects Versions: 8.9 > Reporter: Jochen > Priority: Trivial > > The class {{org.apache.solr.client.solrj.request.json.RangeFacetMap}} is > missing the constructor: > {{RangeFacetMap(final String fieldName, final String start, final String end, > final String gap) {}} > {{... > }}{{} > }} > The constructor is needed, because something like: > {{new RangeFacetMap("date", "NOW/YEAR-50YEARS", "NOW/DAY", "+1YEAR");}} > is perfectly valid > -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org