lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Update of "ScriptUpdateProcessor" by ErikHatcher
Date Sat, 12 Jan 2013 17:24:23 GMT
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 ==

Mime
View raw message