You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/04/16 16:26:14 UTC
[jira] [Commented] (SOLR-5987) Add "collection" to UpdateParams
[ https://issues.apache.org/jira/browse/SOLR-5987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13971457#comment-13971457 ]
ASF subversion and git services commented on SOLR-5987:
-------------------------------------------------------
Commit 1587918 from markrmiller@apache.org in branch 'dev/trunk'
[ https://svn.apache.org/r1587918 ]
SOLR-5987: Add "collection" to UpdateParams.
> 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
> Labels: documentation
> Original Estimate: 0.5h
> Remaining Estimate: 0.5h
>
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org