solr icon indicating copy to clipboard operation
solr copied to clipboard

SOLR-16296: Load elevate.xml in a more secure way

Open heythm opened this issue 3 years ago • 0 comments

https://issues.apache.org/jira/browse/SOLR-16296

Description

See https://issues.apache.org/jira/browse/SOLR-16296

Solution

This removes the use of XmlConfigFile by QueryElevationComponent.

Tests

Please describe the tests you've developed or run to confirm this patch implements the feature or solves the problem.

Checklist

Please review the following and check all that apply:

  • [ ] I have reviewed the guidelines for How to Contribute and my code conforms to the standards described there to the best of my ability.
  • [ ] I have created a Jira issue and added the issue ID to my pull request title.
  • [ ] I have given Solr maintainers access to contribute to my PR branch. (optional but recommended)
  • [ ] I have developed this patch against the main branch.
  • [ ] I have run ./gradlew check.
  • [ ] I have added tests for my changes.
  • [ ] I have added documentation for the Reference Guide

heythm avatar Aug 04 '22 01:08 heythm