Solr's schema is mostly flat (though subdocuments are now allowed).
So, the complexity of an XML document need to be mapped to the flat
layout (unless you use Lux as mentioned).

Given the limitation, the use-case for DTD/XSD mappers is not very
strong. I guess it would be useful for type mapping (int->tinit, etc),
but I haven't seen anything that implements that idea.

Regards,
   Alex.
Personal website: http://www.outerthoughts.com/
Current project: http://www.solr-start.com/ - Accelerating your Solr proficiency


On Wed, May 7, 2014 at 5:33 AM, paulparsons <paulpars...@gmail.com> wrote:
> I'm new to Solr, so forgive me if this is a silly question. Although I can
> find some related information (in this list and elsewhere), I can't seem to
> find a clear answer to my specific question:
>
> If I have a DTD or XSD that describes the structure of a set of XML
> documents that I have, is there some way to convert that into the schema.xml
> that Solr requires? Or do I need to construct the schema from scratch
> manually?
>
> Thanks.
>
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Use-XSD-or-DTD-to-make-Solr-schema-tp4135031.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to