lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandre Rafalovitch <>
Subject Re: Use XSD or DTD to make Solr schema?
Date Wed, 07 May 2014 02:46:17 GMT
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.

Personal website:
Current project: - Accelerating your Solr proficiency

On Wed, May 7, 2014 at 5:33 AM, paulparsons <> 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:
> Sent from the Solr - User mailing list archive at

View raw message