aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/examples/strange.sd
blob: 3e36ddb4ed331b5640a27e362f61cdf5d2f8b81c (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
# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
search strange {
  document strange {
    field source_src type string {

    }
    field idecidemyide type string {
      id: 5
    }
    field sodoi type string {
      id: 7
    }
  }
  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
  }
}