From e4b377a9fee4a1bad8e7293b577f6b082ebf1cb3 Mon Sep 17 00:00:00 2001 From: Henning Baldersheim Date: Fri, 14 Sep 2018 15:35:49 +0200 Subject: Revert "Use a normal SearchBuilder to get all sanity checks and preprocessing…" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vespa-documentgen-plugin/etc/localapp/common.sd | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'vespa-documentgen-plugin/etc/localapp/common.sd') 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 -- cgit v1.2.3