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

Add SolrParams.toLocalParamsString and ClientUtils.encodeLocalParamVal

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.6, 7.0
    • Component/s: SolrJ
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      None

      Description

      SolrParams ought to have a toLocalParamsString method. I needed such a thing while working on SOLR-10526 but I thought it deserved it's own issue. In addition, this method needs to call QueryParsing.encodeLocalParamVal but that's in Solr core (not SolrJ) so I think it can be refactored/moved to ClientUtils. I've wanted to call such a method before in client code and there was none. Surprisingly it's only used by FacetComponent within Solr.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dsmiley David Smiley
                Reporter:
                dsmiley David Smiley
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: