Greg Solovyev created SOLR-5987:
-----------------------------------

             Summary: Add "collection" to UpdateParams
                 Key: SOLR-5987
                 URL: https://issues.apache.org/jira/browse/SOLR-5987
             Project: Solr
          Issue Type: Bug
          Components: SolrCloud
    Affects Versions: 4.7.2
            Reporter: Greg Solovyev
            Priority: Trivial


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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to