On 11/13/22 23:55, Shawn Heisey wrote:
If you want to create your own global handler, then you can add a definition to ImplicitPlugins.json, which is embedded in the solr-core jar. Unless you want to do jar surgery, it's best to make that change in the source code and recompile Solr.
See https://issues.apache.org/jira/browse/SOLR-15859 for an example where I am creating a new global handler.
I am wondering if ImplicitPlugins.json could be put in a location like server/lib/ext so recompiling Solr or jar surgery isn't required. I think server/lib/ext is searched on the classpath before WEB-INF. Even better would be to have another json where user-specified implicit handlers can be defined.
Thanks, Shawn