aboutsummaryrefslogtreecommitdiffstats
path: root/container-core/src/main/resources/configdefinitions/qr-templates.def
blob: 46b1a5cbd65d5eb86fc4be10b3f97a2370c54603 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
# Not used
# TODO: Remove on Vespa 7
namespace=container.core

## Prefix to use in queries to choose a given template
templateset[].urlprefix string

## The id of the Java class which the given templateset
## should be an instance of. This is only used for implementing
## templates in the Java API instead of Velocity.
templateset[].classid string default=""

## The symbolic name of the Osgi bundle this template is located in.
## Assumed to be the same as the classid if not set, and is only used
## when classid is used.
templateset[].bundle string default=""

## The MIME type of a given template
templateset[].mimetype string default="text/html"

## The character set of a given template
templateset[].encoding string default="iso-8859-1"

## Not used
templateset[].rankprofile int default=0


## Not used in 1.0
templateset[].keepalive bool default=false

## Header template. Always rendered.
templateset[].headertemplate string default=""

## Footer template. Always rendered.
templateset[].footertemplate string default=""

## Nohits template. Rendered if there are no hits in the result.
templateset[].nohitstemplate string default=""

## Hit template. Rendered if there are hits in the result.
templateset[].hittemplate string default=""

## Error template. Rendered if there is an error condition. This is
## not mutually exclusive with the (no)hit templates as such.
templateset[].errortemplate string default=""

## Aggregated groups header template.
## Default rendering is used if missing
templateset[].groupsheadertemplate string default="[DEFAULT]"

## Aggregated range group template.
## Default rendering is used if missing
templateset[].rangegrouptemplate string default="[DEFAULT]"

## Aggregated exact group template
## Default rendering is used if missing
templateset[].exactgrouptemplate string default="[DEFAULT]"

## Aggregated groups footer template.
## Default rendering is used if missing
templateset[].groupsfootertemplate string default="[DEFAULT]"

## Tags used to highlight results, starting a bolded section.
## An empty string means the template should no override what
## was inserted by the search chain.
templateset[].highlightstarttag  string default=""
## Tags used to highlight results, ending a bolded section
## An empty string means the template should no override what
## was inserted by the search chain.
templateset[].highlightendtag  string default=""
## Tags used to highlight results, separating dynamic snippets
## An empty string means the template should no override what
## was inserted by the search chain.
templateset[].highlightseptag  string default=""

## The summary class to use for this template if there is none
## defined in the query.
templateset[].defaultsummaryclass string default=""