aboutsummaryrefslogtreecommitdiffstats
path: root/vespa-documentgen-plugin/etc/localapp/common.sd
diff options
context:
space:
mode:
Diffstat (limited to 'vespa-documentgen-plugin/etc/localapp/common.sd')
-rw-r--r--vespa-documentgen-plugin/etc/localapp/common.sd12
1 files changed, 9 insertions, 3 deletions
diff --git a/vespa-documentgen-plugin/etc/localapp/common.sd b/vespa-documentgen-plugin/etc/localapp/common.sd
index 724897b4e7f..ada7ce7436a 100644
--- a/vespa-documentgen-plugin/etc/localapp/common.sd
+++ b/vespa-documentgen-plugin/etc/localapp/common.sd
@@ -17,13 +17,19 @@ search common {
indexing: summary
}
field weight type float {
- indexing: attribute|summary
+ indexing {
+ input weight * 10 | attribute | summary;
+ }
}
field w1 type float {
- indexing: summary
+ indexing {
+ input weight * 6 + input w1 | summary;
+ }
}
field w2 type float {
- indexing: summary
+ indexing {
+ input w2 + input weight | summary;
+ }
}
field did type string {
indexing: attribute|index|summary