summaryrefslogtreecommitdiffstats
path: root/docproc/src/main/resources/configdefinitions/config.docproc.schemamapping.def
diff options
context:
space:
mode:
Diffstat (limited to 'docproc/src/main/resources/configdefinitions/config.docproc.schemamapping.def')
-rw-r--r--docproc/src/main/resources/configdefinitions/config.docproc.schemamapping.def19
1 files changed, 19 insertions, 0 deletions
diff --git a/docproc/src/main/resources/configdefinitions/config.docproc.schemamapping.def b/docproc/src/main/resources/configdefinitions/config.docproc.schemamapping.def
new file mode 100644
index 00000000000..d70235fbfc0
--- /dev/null
+++ b/docproc/src/main/resources/configdefinitions/config.docproc.schemamapping.def
@@ -0,0 +1,19 @@
+# Copyright 2017 Yahoo Holdings. 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
+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