Howdy

Couple of things about the ValueSourceParser

#1 Change documentation of
http://wiki.apache.org/solr/SolrPlugins#ValueSourceParser to say extends
ValueSourceParser rather than implements.

#2 There's an AbstractMethodError when you extend ValueSourceParser and
don't override the init(NamedList args) method
because SolrCore:~439 createInitInstance, cast's the plugin class as a
NamedListInitializedPlugin, and call's
((NamedListInitializedPlugin) o).init(info.initArgs);

If your extended ValueSourceParser class doesn't provide an override, then
there's nothing that implements the base interface from
NamedListInitializedPlugin.

Providing a head scratching conundrum that should be avoided.

Seems more than a documentation fix

Patrick

Reply via email to