Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-15492

Add another constructor do RangeFacetMap

Agile BoardAttach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Wish
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • 8.9
    • None
    • clients - java
    • None

    Description

      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

       

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            jochen.a.klein@basf.com Jochen

            Dates

              Created:
              Updated:

              Slack

                Issue deployment