[solrmarc] r1804 committed - Edited wiki page WritingCustomScripts through web user interface.

0 views
Skip to first unread message

solr...@googlecode.com

unread,
Aug 4, 2015, 9:10:52 AM8/4/15
to solrmarc...@googlegroups.com
Revision: 1804
Author: demia...@villanova.edu
Date: Tue Aug 4 13:10:31 2015 UTC
Log: Edited wiki page WritingCustomScripts through web user interface.
https://code.google.com/p/solrmarc/source/detail?r=1804

Modified:
/wiki/WritingCustomScripts.wiki

=======================================
--- /wiki/WritingCustomScripts.wiki Sun Oct 3 20:05:05 2010 UTC
+++ /wiki/WritingCustomScripts.wiki Tue Aug 4 13:10:31 2015 UTC
@@ -72,7 +72,7 @@

This example gets the first occurance of field 099, 090 or 050 and extract
the a and b subfields from that field. It then shifts the returned string
to all uppercase letters and strips out spaces.

-Note that if you want to define more than one scripted custom indexing
method, they *can* all be defined in the same !BeanShell custom indexing
script file, or they can be separated into several different !BeanShell
files. Also note that all scripted custom indexing methods must return
either a {{{String}}} or a {{{Set}}}, and must accept a parameter
consisting of the {{{Record}}} being operated upon, followed by zero or
more {{{String}}} parameters that can be used for greater control over the
operation of the custom function.
+Note that if you want to define more than one scripted custom indexing
method, they *can* all be defined in the same !BeanShell custom indexing
script file, or they can be separated into several different !BeanShell
files. Also note that all scripted custom indexing methods must return a
{{{String}}}, a {{{List}}} or a {{{Set}}}, and must accept a parameter
consisting of the {{{Record}}} being operated upon, followed by zero or
more {{{String}}} parameters that can be used for greater control over the
operation of the custom function.

=== Example Scripted Custom Indexing Methods ===

Reply all
Reply to author
Forward
0 new messages