Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change 
notification.

The "ScriptUpdateProcessor" page has been changed by ErikHatcher:
http://wiki.apache.org/solr/ScriptUpdateProcessor?action=diff&rev1=12&rev2=13

Comment:
correct JRuby known issue example

  The following in JRuby do not work as expected for some reason, though it 
does work properly in !JavaScript:
  
  {{{
- #  $logger.info "update-script#processAdd: 
request_param=#{$req.getParams('request_param')}"
+ #  $logger.info "update-script#processAdd: 
request_param=#{$req.params.get('request_param')}"
- #  $rsp.add('script_processed',id)       # this is not working!
+ #  $rsp.add('script_processed',id)
  }}}
  
  == Groovy ==

Reply via email to