lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: [jira] [Commented] (SOLR-2417) Allow explain info directly to response documents
Date Tue, 29 Mar 2011 17:17:29 GMT
: 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...


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message