summaryrefslogtreecommitdiffstats
path: root/config-model/src/test/examples/name-check.sd
blob: bd7c0713e3aea8625938dc6f67715d980d5d5c0f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
# An entry-level configuration.
# You can get a reasonable configuration by only configuring
# a document
search simple {

  document name-check {

    field title type string {
      indexing: summary | index
    }

    # reserved name, should trigger error
    field sddocname type string {
      indexing: index
    }

  }

}