[
https://issues.apache.org/jira/browse/SOLR-4953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hoss Man updated SOLR-4953:
---------------------------
Description:
while reviewing some code i think i noticed that if there are multiple
{{<indexConfig/>}} blocks in solrconfig.xml, one just "wins" and hte rest are
ignored.
this should be a hard failure situation, and we should have a "TestBadConfig"
method to verify it.
---
broadened goal of issue to fail if configuration contains multiple nodes/values
for any option where only one value is expected.
was:
while reviewing some code i think i noticed that if there are multiple
{{<indexConfig/>}} blocks in solrconfig.xml, one just "wins" and hte rest are
ignored.
this should be a hard failure situation, and we should have a "TestBadConfig"
method to verify it.
Issue Type: Improvement (was: Bug)
Summary: Config XML parsing should fail hard if an xpath is expect to
match at most one node/string/int/boolean and multiple values are found (was:
solrconfig.xml parsing should fail hard if there are multiple <indexConfig/>
blocks)
> Config XML parsing should fail hard if an xpath is expect to match at most
> one node/string/int/boolean and multiple values are found
> ------------------------------------------------------------------------------------------------------------------------------------
>
> Key: SOLR-4953
> URL: https://issues.apache.org/jira/browse/SOLR-4953
> Project: Solr
> Issue Type: Improvement
> Reporter: Hoss Man
> Assignee: Hoss Man
> Attachments: SOLR-4953.patch, SOLR-4953.patch
>
>
> while reviewing some code i think i noticed that if there are multiple
> {{<indexConfig/>}} blocks in solrconfig.xml, one just "wins" and hte rest are
> ignored.
> this should be a hard failure situation, and we should have a "TestBadConfig"
> method to verify it.
> ---
> broadened goal of issue to fail if configuration contains multiple
> nodes/values for any option where only one value is expected.
--
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: [email protected]
For additional commands, e-mail: [email protected]