aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/examples/strange.sd
blob: 96ddac2be6836f19814a409a2a066ab8f745c3d6 (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 Vespa.ai. 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
  }
}