You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mark Miller (JIRA)" <ji...@apache.org> on 2014/04/16 16:58:19 UTC
[jira] [Resolved] (SOLR-5987) Add "collection" to UpdateParams
[ https://issues.apache.org/jira/browse/SOLR-5987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Miller resolved SOLR-5987.
-------------------------------
Resolution: Fixed
Thanks Greg!
> 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
> Assignee: Mark Miller
> 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