On Fri, Nov 22, 2024 at 10:06 PM David Smiley <dsmi...@apache.org> wrote:

>
> The first: pluggable FacetParser.
> If FacetModule is expressly configured in solrconfig.xml (albeit isn't
> normally I suppose), this would logically be where one would further
> configure the additional parsers specific for that module.  The
> FacetModule.init() is called which could then do SolrResourceLoader to
> initialize stuff.  I could see making the existing parsers less hard-coded.
>
> ~ David
>

I like this approach. I don't know how modules/plugins works but if they
allow to deploy arbitrary javaclass: we can introduce FacetParser
interface, user will deploy own implementations and then pass class name
into FacetModule.init() args. Thus, it's not required to extend
solrconfig.xml tags nor ConfigAPI.

-- 
Sincerely yours
Mikhail Khludnev

Reply via email to