[ https://issues.apache.org/jira/browse/SOLR-13690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16918742#comment-16918742 ]
Tomoko Uchida commented on SOLR-13690: -------------------------------------- This patch [^SOLR-13690.patch] changes all "class=" attributes to "name=" in the bundled default/example schemas. I tested the schemas by packaging Solr and manually creating fresh cores from the configsets. {code:java} # techproducts example ./solr-9.0.0-SNAPSHOT/bin/solr -e techproducts # _default schema ./solr-9.0.0-SNAPSHOT/bin/solr create -c newcore1 # example/files ./solr-9.0.0-SNAPSHOT/bin/solr create -c newcore2 -d solr-9.0.0-SNAPSHOT/example/files/conf/ # example-DIH (solr) ./solr-9.0.0-SNAPSHOT/bin/solr create -c newcore3 -d solr-9.0.0-SNAPSHOT/example/example-DIH/solr/solr/conf/ # example-DIH (db) ./solr-9.0.0-SNAPSHOT/bin/solr create -c newcore4 -d solr-9.0.0-SNAPSHOT/example/example-DIH/solr/db/conf/ # example-DIH (atom) ./solr-9.0.0-SNAPSHOT/bin/solr create -c newcore5 -d solr-9.0.0-SNAPSHOT/example/example-DIH/solr/atom/conf/ # example-DIH (mail) ./solr-9.0.0-SNAPSHOT/bin/solr create -c newcore6 -d solr-9.0.0-SNAPSHOT/example/example-DIH/solr/mail/conf/ # example-DIH (tika) ./solr-9.0.0-SNAPSHOT/bin/solr create -c newcore7 -d solr-9.0.0-SNAPSHOT/example/example-DIH/solr/tika/conf/ {code} They all work fine for me. > Migrate field type configurations in default/example schema files to look up > factories by "name" > ------------------------------------------------------------------------------------------------ > > Key: SOLR-13690 > URL: https://issues.apache.org/jira/browse/SOLR-13690 > Project: Solr > Issue Type: Task > Security Level: Public(Default Security Level. Issues are Public) > Components: Schema and Analysis > Reporter: Tomoko Uchida > Priority: Major > Fix For: master (9.0) > > Attachments: SOLR-13690.patch > > > This is a follow-up task for SOLR-13593. > To encourage users to use the "name" attribute in field type configurations, > we should migrate all managed-schema files bundled with Solr. > There are 8 managed-schemas (except for test resources) in solr. > {code} > lucene-solr-mirror $ find solr -name "managed-schema" | grep -v test > solr/server/solr/configsets/sample_techproducts_configs/conf/managed-schema > solr/server/solr/configsets/_default/conf/managed-schema > solr/example/files/conf/managed-schema > solr/example/example-DIH/solr/solr/conf/managed-schema > solr/example/example-DIH/solr/db/conf/managed-schema > solr/example/example-DIH/solr/atom/conf/managed-schema > solr/example/example-DIH/solr/mail/conf/managed-schema > solr/example/example-DIH/solr/tika/conf/managed-schema > {code} -- This message was sent by Atlassian Jira (v8.3.2#803003) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org