summaryrefslogtreecommitdiffstats
path: root/config-model/src/test/examples/attributeindex.sd
blob: dc5f3fcbc25c12438918b9341a9c88a712f932f9 (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 2016 Yahoo Inc. 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 
    }
  }
}