diff options
Diffstat (limited to 'vespa-documentgen-plugin/etc/localapp/common.sd')
-rw-r--r-- | vespa-documentgen-plugin/etc/localapp/common.sd | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/vespa-documentgen-plugin/etc/localapp/common.sd b/vespa-documentgen-plugin/etc/localapp/common.sd new file mode 100644 index 00000000000..724897b4e7f --- /dev/null +++ b/vespa-documentgen-plugin/etc/localapp/common.sd @@ -0,0 +1,45 @@ +# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +search common { + document common { + field uri type string { + indexing: summary + } + field title type string { + bolding: on + # index-to: default, title + indexing: index|summary + summary-to: smallsum + } + field mid type int { + indexing: attribute|index|summary + } + field scorekey type string { + indexing: summary + } + field weight type float { + indexing: attribute|summary + } + field w1 type float { + indexing: summary + } + field w2 type float { + indexing: summary + } + field did type string { + indexing: attribute|index|summary + } + field ew type string { + indexing: index|summary + } + annotation date { + field exacttime type long { } + } + + annotation emptyannotation {} + } + rank-profile default { + first-phase { + expression: nativeRank + } + } +} |