[
https://issues.apache.org/jira/browse/SOLR-18678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated SOLR-18678:
----------------------------------
Labels: pull-request-available (was: )
> Part 1: Add metadata to IndexSchema and SchemaField, and XML round-trip
> -----------------------------------------------------------------------
>
> Key: SOLR-18678
> URL: https://issues.apache.org/jira/browse/SOLR-18678
> Project: Solr
> Issue Type: Sub-task
> Reporter: Andrzej Bialecki
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Add schema metadata persisted in the schema XML as a child {{<metadata>}}
> element with type-less {{<entry name="...">value</entry>}} children (or
> perhaps typed str, int, bool, float, ...?).
> This format is rolling-upgrade safe, because older nodes ignore child
> elements. Classic schema.xml parsing and managed-schema writing both support
> it.
> Fields, dynamic fields and field types are included. There should be also a
> top-level {{<metadata>}} element for the whole schema.
> Add necessary plumbing to IndexSchema and SchemaField classes.
> Schema metadata never affects indexing, queries or schema compatibility
> checks, so a metadata-only change needs no reindex. Length caps on keys,
> values and total size keep ZooKeeper nodes small. Tests will cover the XML
> round-trip and a rolling-upgrade case where an older node loads the new
> schema.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]