[
https://issues.apache.org/jira/browse/SOLR-18678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18153520#comment-18153520
]
ASF subversion and git services commented on SOLR-18678:
--------------------------------------------------------
Commit 9141f1bb0e1be43eb2b1e084289749a4fe4bfe8f in solr's branch
refs/heads/main from Andrzej Bialecki
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=9141f1bb0e1 ]
SOLR-18678: Add field-level schema metadata (Part 1) (#5403)
Co-authored-by: Claude Opus 5.5 <[email protected]>
> 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
> Assignee: Andrzej Bialecki
> Priority: Major
> Labels: pull-request-available
> Time Spent: 2h
> 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]