[ 
https://issues.apache.org/jira/browse/SOLR-4803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hoss Man updated SOLR-4803:
---------------------------

    Description: 
As far as i can tell, the "new solr.xml" changes caused the following 
problems...

* DEFAULT_DEFAULT_CORE_NAME is not used at all in the "new" style solr.xml, but 
probably should be (at least in 4x)

See also the mailing list thread "[JENKINS] Lucene-Solr-SmokeRelease-4.x - 
Build # 69 - Failure" where the lack of using DEFAULT_DEFAULT_CORE_NAME causes 
the smoke tester to fail on both 4x and trunk because many things assume 
collectionless URLs will work

  was:
As far as i can tell, the "new solr.xml" changes caused the following 
problems...

* DEFAULT_DEFAULT_CORE_NAME is not properly supported for the "old" style 
solr.xml if defaultCoreName="..." is not specified in the solr.xml
* DEFAULT_DEFAULT_CORE_NAME is not used at all in the "new" style solr.xml, but 
probably should be (at least in 4x)

See also the mailing list thread "[JENKINS] Lucene-Solr-SmokeRelease-4.x - 
Build # 69 - Failure" where the lack of using DEFAULT_DEFAULT_CORE_NAME causes 
the smoke tester to fail on both 4x and trunk because many things assume 
collectionless URLs will work


Editing issue description -- my memory was faulty, and this previously 
mentioend problem is not really an issue...

{noformat}
* DEFAULT_DEFAULT_CORE_NAME is not properly supported for the "old" style 
solr.xml if defaultCoreName="..." is not
specified in the solr.xml
{noformat}

That is not actually how defaultCoreName="..." has ever worked, i was 
remembering incorrectly -- in the old style solr.xml, if you didn't have a 
defaultCoreName declared, you did not have a default core name (just like 
"adminPath")

I'm scaling back my patch to only use DEFAULT_DEFAULT_CORE_NAME in the case of 
hte "new style" config, similar to how adminPath is hardcoded to 
"/admin/cores".  (same reasons as mentioned before: this gets the 4x and trunk 
example and simple single core cases working again with simple URLs)

----

Jan: as mentioned, my initial impressions about the impact of this bug were 
wrong, it really only affects the "new style" example on the 4x & trunk 
branchs, and doesn't seem to really affect anyone using existing "old style" 
solr.xml files.


                
> fix support for DEFAULT_DEFAULT_CORE_NAME
> -----------------------------------------
>
>                 Key: SOLR-4803
>                 URL: https://issues.apache.org/jira/browse/SOLR-4803
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.3
>            Reporter: Hoss Man
>            Assignee: Hoss Man
>
> As far as i can tell, the "new solr.xml" changes caused the following 
> problems...
> * DEFAULT_DEFAULT_CORE_NAME is not used at all in the "new" style solr.xml, 
> but probably should be (at least in 4x)
> See also the mailing list thread "[JENKINS] Lucene-Solr-SmokeRelease-4.x - 
> Build # 69 - Failure" where the lack of using DEFAULT_DEFAULT_CORE_NAME 
> causes the smoke tester to fail on both 4x and trunk because many things 
> assume collectionless URLs will work

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Reply via email to