summaryrefslogtreecommitdiffstats
path: root/vespa-documentgen-plugin/etc/localapp/common.sd
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2018-09-14 15:35:49 +0200
committerGitHub <noreply@github.com>2018-09-14 15:35:49 +0200
commite4b377a9fee4a1bad8e7293b577f6b082ebf1cb3 (patch)
tree4ba065804cd44d3e04ba5df812ee79ec36b38bfb /vespa-documentgen-plugin/etc/localapp/common.sd
parentd166163770dde9d20975220457f4f6eb45336919 (diff)
Revert "Use a normal SearchBuilder to get all sanity checks and preprocessing…"
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