aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/derived/combinedattributeandindexsearch/combinedattributeandindexsearch.sd
blob: c9a76b271012c1450719367d2ec4d462c89746e5 (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
# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
schema combinedattributeandindexsearch {

  document combinedattributeandindexsearch {

    field index1 type string {
      indexing: index | summary
    }

    field index2 type string {
      indexing: index
    }

    field attribute1 type string {
      indexing: attribute | summary
      match {
        token
      }
    }

    field attribute2 type string {
      indexing: attribute
      match {
        token
      }
    }

  }

  fieldset default {
    fields: index1, index2, attribute1, attribute2
  }

}