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=1&rev2=2 - Coming soon! + = ScriptUpdateProcessor = + <!> [[Solr4.0]] + + <<TableOfContents(3)>> + + = Introduction = + + This feature ... + + = Configuration = + The UpdateRequestProcessor is configured in solrconfig.xml. All parameters listed may also be overridded on the update request itself. A minimal configuration specifies the script file to use: + {{{ + <updateRequestProcessorChain name="script"> + <processor class="solr.StatelessScriptUpdateProcessorFactory"> + <str name="script">update-script.js</str> + </processor> + <processor class="solr.RunUpdateProcessorFactory" /> + </updateRequestProcessorChain> + }}} + + '''NOTE:''' The processor supports the {{{defaults/appends/invariants}}} concept for its config. However, it is also possible to skip this level and configure the parameters directly underneath the {{{<processor>}}} tag. (?? is this true for the ScriptUpdateProcessor too? this verbiage borrowed from the language identification processor) + + Below follows a list of each configuration parameters and their meaning: + + == script == + The script file name. + + = Examples = + + + = Caveats = + + More on the "stateless" nature, running multiple scripts that can share state, and more about other scripting languages available. + + = Resources = + + * [[https://issues.apache.org/jira/browse/SOLR-1725|SOLR-1725]] +