lucene/solr/contrib/scripting
Eric Pugh e6d9eaaf00
SOLR-15121: Move XSLT (tr param) response writer and update request handler to scripting contrib (#2306)
* relocate xslt related classes into scripting contrib
* relocating files to scripting and seperating out unit tests
* relocate files under test-files/scripting/solr, similar to how we do it in other contribs.  deals with some issues in finding files
* Reformatting using the Google Java Format...
* use actual param name, not the variable to properly test api!
* Clean up references to paths, and deal with the mish mash of Xslt and XSLT in class names.
* Move XSLT processing out of XMLLoader
* Move TransformerProvider.Dedupe getTransformer logic.


Co-authored-by: epugh@opensourceconnections.com <>
Co-authored-by: David Smiley <dsmiley@apache.org>
2021-02-15 13:16:18 -05:00
..
src SOLR-15121: Move XSLT (tr param) response writer and update request handler to scripting contrib (#2306) 2021-02-15 13:16:18 -05:00
README.md SOLR-14067: v4 Create /contrib/scripting module with ScriptingUpdateProcessor (#2257) 2021-01-29 12:27:36 -05:00
build.gradle SOLR-14067: v4 Create /contrib/scripting module with ScriptingUpdateProcessor (#2257) 2021-01-29 12:27:36 -05:00

README.md

Welcome to Apache Solr Scripting!

Introduction

The Scripting contrib module pulls together various scripting related functions.

Today, the ScriptUpdateProcessorFactory allows Java scripting engines to support scripts written in languages such as JavaScript, Ruby, Python, and Groovy to be used during Solr document update processing, allowing dramatic flexibility in expressing custom document processing before being indexed. It exposes hooks for commit, delete, etc, but add is the most common usage. It is implemented as an UpdateProcessor to be placed in an UpdateChain.

Getting Started

For information on how to get started please see: