summaryrefslogtreecommitdiffstats
path: root/config-model/src/test/examples/attributeindex.sd
blob: a35be55646703c84cd8114c85d2ee7d8d7d09b52 (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 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
search attributeindex {
  document attributeindex {

    field nosettings type string {
      indexing: summary | attribute | index
    }

    # Attribute and index have different names
    field specifyname type string {
      indexing: summary | attribute newname | index     
    }

    # # index-to: with same name as attribute
    field specifyname2 type string {
      indexing: summary | attribute newname2 | index
      # index-to: newname2
    }

    field withstaticrankname type string {
      indexing: summary | attribute | index | attribute someothername 
    }
  }
}