diff options
Diffstat (limited to 'vespa-documentgen-plugin/etc')
-rw-r--r-- | vespa-documentgen-plugin/etc/complex/book.sd | 2 | ||||
-rw-r--r-- | vespa-documentgen-plugin/etc/complex/common.sd | 12 | ||||
-rw-r--r-- | vespa-documentgen-plugin/etc/complex/music2.sd | 2 | ||||
-rw-r--r-- | vespa-documentgen-plugin/etc/localapp/common.sd | 12 | ||||
-rw-r--r-- | vespa-documentgen-plugin/etc/localapp/music.sd | 2 |
5 files changed, 21 insertions, 9 deletions
diff --git a/vespa-documentgen-plugin/etc/complex/book.sd b/vespa-documentgen-plugin/etc/complex/book.sd index 16bf4447979..2635ebe9881 100644 --- a/vespa-documentgen-plugin/etc/complex/book.sd +++ b/vespa-documentgen-plugin/etc/complex/book.sd @@ -30,7 +30,7 @@ search book { attribute: prefetch } - field mynestedwsfloat type weightedset<float> {} + field mynestedwsfloat type weightedset<weightedset<float>> {} field myarrayint type array<int> { indexing: attribute 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 diff --git a/vespa-documentgen-plugin/etc/complex/music2.sd b/vespa-documentgen-plugin/etc/complex/music2.sd index 2e2d96ecdec..5657580e622 100644 --- a/vespa-documentgen-plugin/etc/complex/music2.sd +++ b/vespa-documentgen-plugin/etc/complex/music2.sd @@ -56,7 +56,7 @@ search music2 { } field didinteger type array<int> { - indexing: input did | split " " | for_each { to_int } | attribute + indexing: input did | split " " | attribute } rank-profile default { 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 diff --git a/vespa-documentgen-plugin/etc/localapp/music.sd b/vespa-documentgen-plugin/etc/localapp/music.sd index e00e046f511..0cfe5cf923a 100644 --- a/vespa-documentgen-plugin/etc/localapp/music.sd +++ b/vespa-documentgen-plugin/etc/localapp/music.sd @@ -51,7 +51,7 @@ search music { } field didinteger type array<int> { - indexing: input did | split " " | for_each { to_int } | attribute + indexing: input did | split " " | attribute } rank-profile default { |