warn about unused UnifiedSolrHighlighter configuration#816
Conversation
|
Instead of adding more complexity, could we just configure the I like the ida of identifying unused configurations, but maybe that is something that needs to be done globablly (and I don't have any idea how you would do that!). I see a LOT of solrconfigs.xml that all need to go on a diet and have tons of unused stuff ;-). I wish we shipped a nice stripped down solrconfig/schema that would encourage people to add to it, versus the filled with assumptions that is |
|
Unless I'm missing something (maybe I looked too quickly at this PR), the change seems invalid to me. If someone registers highlighters, they can be chosen at runtime via BTW total +1 to what Eric said. That's another issue though; and JIRA worthy. |
|
This PR had no visible activity in the past 60 days, labeling it as stale. Any new activity will remove the stale label. To attract more reviewers, please tag someone or notify the dev@solr.apache.org mailing list. Thank you for your contribution! |
|
This PR is now closed due to 60 days of inactivity after being marked as stale. Re-opening this PR is still possible, in which case it will be marked as active again. |
No JIRA issue as yet but would create one if this seem useful.
The default config has a comment
i.e. https://github.com/apache/solr/blob/branch_9_0/solr/server/solr/configsets/_default/conf/solrconfig.xml#L849-L850 but it still could be useful to flag unused configuration in the logs?