[ https://issues.apache.org/jira/browse/SOLR-6576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14155314#comment-14155314 ]
Steve Davids commented on SOLR-6576: ------------------------------------ Oops, I glanced at the code too fast last night and saw the suppress deprecated warning: {code} @SuppressWarnings({"deprecation"}) public static SolrParams wrapAppended(SolrParams params, SolrParams defaults) { {code} which I mistook as @deprecated for some reason, my bad. > ModifiableSolrParams#add(SolrParams) is performing a set operation instead of > an add > ------------------------------------------------------------------------------------ > > Key: SOLR-6576 > URL: https://issues.apache.org/jira/browse/SOLR-6576 > Project: Solr > Issue Type: Bug > Reporter: Steve Davids > Fix For: 5.0, Trunk > > Attachments: SOLR-6576.patch > > > Came across this bug by attempting to append multiple ModifiableSolrParam > objects together but found the last one was clobbering the previously set > values. The add operation should append the values to the previously defined > values, not perform a set operation. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org