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

Add "collection" to UpdateParams

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 4.7.2
    • Fix Version/s: None
    • Component/s: SolrCloud
    • Labels:

      Description

      CloudSolrServer currently references "collection" parameter using hard-coded string "collection", instead of using a constant field. This does not break anything, but is just general code cleanness issue. It is also harder to figure out how to specify a specific collection to send an update to without looking into CloudSolrServer source code. If it was using UpdateParams.COLLECTION constant, it would have been possible to look at UpdateParams JavaDoc to figure this out.

        Attachments

          Activity

            People

            • Assignee:
              markrmiller@gmail.com Mark Miller
              Reporter:
              grishick Greg Solovyev
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0.5h
                0.5h
                Remaining:
                Remaining Estimate - 0.5h
                0.5h
                Logged:
                Time Spent - Not Specified
                Not Specified