I think the easiest would be to create two instances using those
schemas and then see what comes back from schema API:
http://lucene.apache.org/solr/guide/7_4/schema-api.html#retrieve-schema-information

That will give you the outputs in the consistent format, you can just
run diff on.

However, if you want to actually do a graph analysis on
explicit+dynamic fields -> definitions, then it is a bit more work.
Doable, but is a mini-project. I did something similar before, but the
code is not open-source at this moment. And it really depends on what
_very specific_ question you are trying to answer. For example, it is
not clear whether any example schema dynamic field should be part of
the "used" calculation just because it exists...

Regards,
   Alex.

On 24 September 2018 at 11:28, Michael Joyner <mich...@newsrx.com> wrote:
> Is there an easy way to compare schemas?
>
> When upgrading nodes, we are wanting to compare the "core" and
> "automatically mapped" data types between our existing schema and the new
> manage-schema available as part of the upgraded distrubtion.

Reply via email to