diff options
author | Jon Bratseth <bratseth@yahoo-inc.com> | 2016-06-15 23:09:44 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@yahoo-inc.com> | 2016-06-15 23:09:44 +0200 |
commit | 72231250ed81e10d66bfe70701e64fa5fe50f712 (patch) | |
tree | 2728bba1131a6f6e5bdf95afec7d7ff9358dac50 /docproc/src/main/resources |
Publish
Diffstat (limited to 'docproc/src/main/resources')
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" |