Actually, I think Solr does rearrange everything to its liking
(alphabetical?) when it rewrites managed-schema. So, if the
definitions are added via API, the order will be deterministic.

That's what I believe though, I can't remember testing it exhaustively
with physically rearranged types.

Regards,
   Alex

On 20 December 2017 at 11:37, Erick Erickson <erickerick...@gmail.com> wrote:
> The schema is not order dependent, I freely mix-n-match the fieldType,
> copyField and field definitions for instance.
>
>
>
> On Wed, Dec 20, 2017 at 8:29 AM, Michael Joyner <mich...@newsrx.com> wrote:
>> Hey all,
>>
>> I'm wanting to update our managed-schemas to include the latest options
>> available in the 6.6.2 branch. (point types for one)
>>
>> I would like to be able to sort them and diff them (production vs dist
>> supplied) to create a simple patch that can be reviewed, edited if
>> necessary, and then applied to the production schemas.
>>
>> I'm thinking this approach would be least human error prone, but, the
>> schemas would need to be diffable and I can only see this as doable if they
>> are sorted so that common parts diff out. I only see this approach easily
>> workable if the entries aren't order dependent. (Presuming I can get all the
>> various schema settings to fit neatly on single lines...).
>>
>> Or does there exist a list of schema entries added along different point
>> releases?
>>
>> -Mike/NewsRx
>>

Reply via email to