SOLR-16781: Disable <lib/> by default on 9.x #2894
Open
+86
−41
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
https://issues.apache.org/jira/browse/SOLR-16781
Description
<lib/>
usage will now log a warning by default for future 9.x releases. Wary users can re-enabled the feature by specifying a sysprop:solr.config.lib.enabled=true
.This PR is a companion to #2875, which makes more aggressive changes (removing
<lib>
altogether) on the 'main' branch. As such, this PR is only intended for branch_9x, and #2875 is only intended for 'main'.Tests
Still need a test to validate that
<lib>
tags are ignored if the feature is not enabled.Checklist
Please review the following and check all that apply:
./gradlew check
.