lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "patrick o'leary" <>
Subject ValueSourceParser problem
Date Wed, 16 Dec 2009 05:31:11 GMT

Couple of things about the ValueSourceParser

#1 Change documentation of 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

Providing a head scratching conundrum that should be avoided.

Seems more than a documentation fix


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message