lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Smodic <jsmo...@us.ibm.com>
Subject Re: schema / config file names
Date Thu, 03 Jul 2014 02:56:15 GMT
That's good to know.

I don't actually want to do it. I want to see just how much of Solr's 
schema and configuration can be reliably validated. The error messages 
I've been getting back for misconfigured setups are less than ideal at 
times. But it should be easy for me to validate certain things without 
talking to Solr at all, like the existence of the schema in ZK, that it's 
a valid XML file, etc.

Is there an XSD or any kind of validation for the schema / solrconfig? 
There's an unresolved Jira issue in SOLR-1758 that seems promising but 
never got merged.

Thanks.



From:   Chris Hostetter <hossman_lucene@fucit.org>
To:     solr-user@lucene.apache.org, 
Date:   07/02/2014 10:22 PM
Subject:        Re: schema / config file names




: Is it required for the schema.xml and solrconfig.xml to have those exact 

: filenames?

It's an extremelely good idea ... but strictly speaking no...

https://cwiki.apache.org/confluence/display/solr/CoreAdminHandler+Parameters+and+Usage#CoreAdminHandlerParametersandUsage-CREATE


This smells like an XY Problem though ... please explain *why* you care 
what these file names are, and why you want them to be different?

https://people.apache.org/~hossman/#xyproblem
XY Problem

Your question appears to be an "XY Problem" ... that is: you are dealing
with "X", you are assuming "Y" will help you, and you are asking about "Y"
without giving more details about the "X" so that we can understand the
full issue.  Perhaps the best solution doesn't involve "Y" at all?
See Also: http://www.perlmonks.org/index.pl?node_id=542341




-Hoss
http://www.lucidworks.com/



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message