You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Haythem Khiri (Jira)" <ji...@apache.org> on 2022/12/11 08:28:00 UTC
[jira] [Commented] (SOLR-15492) Add another constructor do RangeFacetMap
[ https://issues.apache.org/jira/browse/SOLR-15492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17645742#comment-17645742 ]
Haythem Khiri commented on SOLR-15492:
--------------------------------------
[~jochen.a.klein@basf.com] - I think I do the job and I wonder what syntax should it follow?
> 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-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org