aboutsummaryrefslogtreecommitdiffstats
path: root/streamingvisitors/src/vespa/vsm/config/vsmsummary.def
blob: 500bdaa30b386d7a90076ac216cdeaec0899a600 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright Vespa.ai. 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