blob: 34d1d159417171a90e7563914bdf8da5f9883d2a (
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
|
# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
schema indexswitches {
document indexswitches {
field title type string {
indexing: summary | index
}
field descr type string {
indexing: summary | index
}
field source_src type string {
}
}
field source type string {
indexing {
input source_src |
switch {
case "amg": input source_src | summary;
case "theweb": input source_src | summary | index;
default: input source_src . " partner" | summary | index;
};
}
stemming: none
}
fieldset default {
fields: title, descr
}
}
|