aboutsummaryrefslogtreecommitdiffstats
path: root/vespa-documentgen-plugin/etc/complex/common.sd
diff options
context:
space:
mode:
Diffstat (limited to 'vespa-documentgen-plugin/etc/complex/common.sd')
-rw-r--r--vespa-documentgen-plugin/etc/complex/common.sd12
1 files changed, 9 insertions, 3 deletions
diff --git a/vespa-documentgen-plugin/etc/complex/common.sd b/vespa-documentgen-plugin/etc/complex/common.sd
index e0505eba05b..0764421ac8d 100644
--- a/vespa-documentgen-plugin/etc/complex/common.sd
+++ b/vespa-documentgen-plugin/etc/complex/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