[ 
https://issues.apache.org/jira/browse/SOLR-5543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13850591#comment-13850591
 ] 

Alan Woodward commented on SOLR-5543:
-------------------------------------

It doesn't seem to actually make a difference to the running application, 
because the ConfigSolr object deduplicates the entries internally, which is 
also why it only writes out the latest swap (the current set, plus the two 
extra core definitions).  But it makes it confusing for people who are editing 
solr.xml offline.

> solr.xml duplicat eentries after SWAP 4.6
> -----------------------------------------
>
>                 Key: SOLR-5543
>                 URL: https://issues.apache.org/jira/browse/SOLR-5543
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.6
>            Reporter: Bill Bell
>            Assignee: Alan Woodward
>             Fix For: 4.7
>
>         Attachments: SOLR-5543.patch
>
>
> We are having issues with SWAP CoreAdmin in 4.6.
> Using legacy solr.xml we issue a COreodmin SWAP, and we want it persistent. 
> It has been running flawless since 4.5. Now it creates duplicate lines in 
> solr.xml.
> Even the example multi core schema in doesn't work with persistent="true" - 
> it creates duplicate lines in solr.xml.
>  <cores adminPath="/admin/cores">
>     <core name="autosuggest" loadOnStartup="true" instanceDir="autosuggest" 
> transient="false"/>
>     <core name="citystateprovider" loadOnStartup="true" 
> instanceDir="citystateprovider" transient="false"/>
>     <core name="collection1" loadOnStartup="true" instanceDir="collection1" 
> transient="false"/>
>     <core name="facility" loadOnStartup="true" instanceDir="facility" 
> transient="false"/>
>     <core name="inactiveproviders" loadOnStartup="true" 
> instanceDir="inactiveproviders" transient="false"/>
>     <core name="linesvcgeo" instanceDir="linesvcgeo" loadOnStartup="true" 
> transient="false"/>
>     <core name="linesvcgeofull" instanceDir="linesvcgeofull" 
> loadOnStartup="true" transient="false"/>
>     <core name="locationgeo" loadOnStartup="true" instanceDir="locationgeo" 
> transient="false"/>
>     <core name="market" loadOnStartup="true" instanceDir="market" 
> transient="false"/>
>     <core name="portalprovider" loadOnStartup="true" 
> instanceDir="portalprovider" transient="false"/>
>     <core name="practice" loadOnStartup="true" instanceDir="practice" 
> transient="false"/>
>     <core name="provider" loadOnStartup="true" instanceDir="provider" 
> transient="false"/>
>     <core name="providersearch" loadOnStartup="true" 
> instanceDir="providersearch" transient="false"/>
>     <core name="tridioncomponents" loadOnStartup="true" 
> instanceDir="tridioncomponents" transient="false"/>
>     <core name="linesvcgeo" instanceDir="linesvcgeo" loadOnStartup="true" 
> transient="false"/>
>     <core name="linesvcgeofull" instanceDir="linesvcgeofull" 
> loadOnStartup="true" transient="false"/>
> </cores>



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to