aboutsummaryrefslogtreecommitdiffstats
path: root/vespa-documentgen-plugin/etc/complex/common.sd
blob: 3ab6e18c267bc2c24ddae9adf474250801b5f35a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
search common {
   document common {
      field uri type string {
         indexing: summary
      }
      field title type string {
         bolding: on
         indexing: index|summary
         summary-to: smallsum
      }
      field mid type int {
         indexing: attribute|index|summary
      }
      field scorekey type string {
         indexing: summary
      }
      field weight type float {
        indexing: attribute | summary
      }
      field w1 type float {
        indexing: summary
      }
      field w2 type float {
        indexing: summary
      }
      field did type string {
         indexing: attribute|index|summary
      }
      field ew type string {
         indexing: index|summary
      }
   }
   rank-profile default {
      first-phase {
         expression: nativeRank
      }
   }
}