summaryrefslogtreecommitdiffstats
path: root/streamingvisitors/src/vespa/vsm/config/vsmsummary.def
diff options
context:
space:
mode:
Diffstat (limited to 'streamingvisitors/src/vespa/vsm/config/vsmsummary.def')
-rw-r--r--streamingvisitors/src/vespa/vsm/config/vsmsummary.def21
1 files changed, 21 insertions, 0 deletions
diff --git a/streamingvisitors/src/vespa/vsm/config/vsmsummary.def b/streamingvisitors/src/vespa/vsm/config/vsmsummary.def
new file mode 100644
index 00000000000..5eb96624826
--- /dev/null
+++ b/streamingvisitors/src/vespa/vsm/config/vsmsummary.def
@@ -0,0 +1,21 @@
+# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+namespace=vespa.config.search.vsm
+
+## The name of the result class that should be generated for documents
+## returned from the VSM. If this value is empty, the first found
+## result class will be used.
+outputclass string default=""
+
+## Mapping of field names between the result class and the document
+## model. This value represents the name in the result class. Fields
+## not mentioned here will get the identity mapping.
+fieldmap[].summary string
+
+## Mapping of field names between the result class and the document
+## model. This field vector represents the names in the document model
+## that should be used as input when generating the summary field.
+fieldmap[].document[].field string
+
+## This command specifies how the document fields should be combined
+## when generating the summary field.
+fieldmap[].command enum { NONE, FLATTENJUNIPER, FLATTENSPACE } default=NONE