summaryrefslogtreecommitdiffstats
path: root/docproc/src/main/resources
diff options
context:
space:
mode:
Diffstat (limited to 'docproc/src/main/resources')
-rw-r--r--docproc/src/main/resources/configdefinitions/docproc.def12
-rw-r--r--docproc/src/main/resources/configdefinitions/schemamapping.def20
-rw-r--r--docproc/src/main/resources/configdefinitions/splitter-joiner-document-processor.def12
3 files changed, 44 insertions, 0 deletions
diff --git a/docproc/src/main/resources/configdefinitions/docproc.def b/docproc/src/main/resources/configdefinitions/docproc.def
new file mode 100644
index 00000000000..a3e89c22226
--- /dev/null
+++ b/docproc/src/main/resources/configdefinitions/docproc.def
@@ -0,0 +1,12 @@
+# Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+version=12
+namespace=config.docproc
+
+# Queue size (in milliseconds) for this node
+# Positive size gives a ThroughPutLimitQueue. ### Experimental.
+# 0 Gives a PriorityQueue
+# Negative values gives a ordinary LinkedBlockingQueue. This is fastest and most efficient.
+maxqueuetimems int default=-1
+
+#The number of threads in the DocprocHandler worker thread pool
+numthreads int default=-1
diff --git a/docproc/src/main/resources/configdefinitions/schemamapping.def b/docproc/src/main/resources/configdefinitions/schemamapping.def
new file mode 100644
index 00000000000..a8e0243afac
--- /dev/null
+++ b/docproc/src/main/resources/configdefinitions/schemamapping.def
@@ -0,0 +1,20 @@
+# Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+# Use when a docproc works on a generic set of field names and the actual names
+# in input doc may be different
+version=1
+namespace=config.docproc
+
+# The chain this mapping applies to
+fieldmapping[].chain string
+
+# The class name of the docproc this mapping applies to
+fieldmapping[].docproc string
+
+#The doc type name this mapping applies to
+fieldmapping[].doctype string default=""
+
+# Field name in input doc
+fieldmapping[].indocument string
+
+# Field name a docproc uses
+fieldmapping[].inprocessor string
diff --git a/docproc/src/main/resources/configdefinitions/splitter-joiner-document-processor.def b/docproc/src/main/resources/configdefinitions/splitter-joiner-document-processor.def
new file mode 100644
index 00000000000..73e84578ed9
--- /dev/null
+++ b/docproc/src/main/resources/configdefinitions/splitter-joiner-document-processor.def
@@ -0,0 +1,12 @@
+# Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+version=2
+namespace=config.docproc
+
+# The name of the enclosing (outer) document type
+documentTypeName string
+
+# The name of the field of type array of document
+arrayFieldName string
+
+# The name of the context variable used by Processing.getVariable()
+contextFieldName string default="docproc@splitter@joiner@outer@document"