: none of the params I specify in solrconfig.xml are being picked up. The
: error I'm getting is: "NameError: global name 'params' is not defined".

        ...

:   <updateRequestProcessorChain name="script">
:     <processor class="solr.StatelessScriptUpdateProcessorFactory">
:       <str name="script">summarize.py</str>
:     </processor>
:     <!--  optional parameters passed to script -->
:       <lst name="params">
:         <str name="from_field">abstract</str>
:         <str name="to_field">summary</str>
:       </lst>

...that list of "params" isn't inside the <processor> tag, so 
StatelessScriptUpdateProcessorFactory doesn't know anything about it, so 
it's not passing it to the ScriptEngineManager


-Hoss

Reply via email to