: As is, it is not defined by a param, but via solrconfig: : : <transformer name="explain" : class="org.apache.solr.response.transform.ExplainAugmenterFactory" > : <str name="args">nl</str> : </transformer> : : As is, Transformers do not have access to SolrParams -- i think that : is OK, but we should discuss : : TransformerFactory could easily be changed to take SolrParams or : SolrQueryRequest.
independent of whatever details get hashed out on the syntax to make it easy to specify simple args inline, i think that any new plugin type (ie: TransformerFactory) where it's feasible to give access to the SolrQueryRequest, we should - so thta if it needs more robust runtime driven configuration it can get it. having init params on the TransformerFactory in solrconfig.xml only gets you so far. there will likely be other more complex things that we want to be able to specify at request time, or in the defaults for the request handlers (where each handler might want different default values when using the same Transformer), etc... -Hoss --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org