diff options
author | Arne H Juul <arnej@yahooinc.com> | 2022-03-12 20:16:12 +0000 |
---|---|---|
committer | Arne H Juul <arnej@yahooinc.com> | 2022-03-12 20:29:17 +0000 |
commit | 05c252f2a05c562b57921158ba4cf15ba5ee07fe (patch) | |
tree | f52c0da7dea5497605623028d11a770044993425 /documentgen-test/etc/complex/common.sd | |
parent | c4ac024bfedb431acf2472c883d1d3712a24c506 (diff) |
long-overdue cleanup
* various invalid content here, was hidden by adding the same
field twice, triggering other bugs.
* fix some warnings
* don't declare the same annotation twice
Diffstat (limited to 'documentgen-test/etc/complex/common.sd')
-rw-r--r-- | documentgen-test/etc/complex/common.sd | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/documentgen-test/etc/complex/common.sd b/documentgen-test/etc/complex/common.sd index a5d07c455b8..3000bd8780c 100644 --- a/documentgen-test/etc/complex/common.sd +++ b/documentgen-test/etc/complex/common.sd @@ -7,10 +7,9 @@ search common { field title type string { bolding: on indexing: index|summary - summary-to: smallsum } field mid type int { - indexing: attribute|index|summary + indexing: attribute|summary } field scorekey type string { indexing: summary @@ -43,12 +42,6 @@ search common { } annotation DocumentImplSub inherits DocumentImpl { } } - field weight type float { - } - field w1 type float { - } - field w2 type float { - } rank-profile default { first-phase { expression: nativeRank @@ -63,4 +56,8 @@ search common { field w2 type float { indexing: input w2_src + input weight_src | summary } + document-summary smallsum { + from-disk + summary title type string {} + } } |