[
https://issues.apache.org/jira/browse/SOLR-17304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18034024#comment-18034024
]
ASF subversion and git services commented on SOLR-17304:
--------------------------------------------------------
Commit 05bfe95a14d2a491c2a8a3a54844855d7e60c4ea in solr's branch
refs/heads/branch_9x from Jan Høydahl
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=05bfe95a14d ]
SOLR-17619 Fix changelog diffs between branches
Remove SOLR-16667 from 9x changelog
Add missing dependency changelog for 9.8
Remove duplicate SOLR-17304 changelog
Added SOLR-16986 changelog to branch_9x
> PKG_VERSIONS not honored when loading the schema plugins
> --------------------------------------------------------
>
> Key: SOLR-17304
> URL: https://issues.apache.org/jira/browse/SOLR-17304
> Project: Solr
> Issue Type: Bug
> Components: Package Manager
> Affects Versions: 9.6
> Reporter: Andrey Bozhko
> Assignee: Eric Pugh
> Priority: Minor
> Fix For: 9.7
>
> Time Spent: 2h 50m
> Remaining Estimate: 0h
>
> If the schema references plugin classes from the package uploaded to the
> package store, Solr always uses the latest version of the package when
> loading the schema even if the constraint is specified in params.json.
> Steps to reproduce
> 1. Upload multiple versions of the same package to Solr (the versions don't
> have to be compatible with each other)
> 2. Upload a configset which requests a specific package version via
> PKG_VERSIONS in params.json
> 3. Create a collection using the uploaded configset
> Expected behavior
> - If the configsets references custom classes from the package, then Solr
> uses the package version constraint from params.json to initialize all the
> plugins mentioned in `solrconfig.xml` and `schema.xml`
> Actual behavior
> - Solr uses the package version specified in params.json only for loading
> the `solrconfig.xml` plugins
> - For `schema.xml` plugins (field types, token filters, similarities, etc.)
> Solr always goes for the latest available package version, regardless of what
> was specified in params.json
> Test that reproduces the issue: [https://github.com/apache/solr/pull/2471].
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]