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=9&rev2=10

  = Examples =
  
  The processAdd() and the other script methods can return false to skip 
further processing of the document.  All methods must be defined, though 
generally the processAdd() method is where the action is.
+ 
+ Here's a URL that works with the collection1 example demonstrating specifying 
the "script" update chain: 
http://localhost:8983/solr/collection1/update?commit=true&stream.contentType=text/csv&fieldnames=id,description&stream.body=1,foo&update.chain=script
 which logs the following:
+ 
+ {{{
+ INFO: update-script#processAdd: id=1
+ }}}
  
  == JavaScript ==
  

Reply via email to