summaryrefslogtreecommitdiffstats
path: root/config-model/src/test/derived/integerattributetostringindex/integerattributetostringindex.sd
blob: abbc10ca2a7cc91e38c88aaf119bd663c26c4d64 (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
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
search integerattributetostringindex {
  document integerattributetostringindex {
  field attinx type int {
  indexing: summary |  attribute | index
  # index-to: attinx,default
  }

field artist type string {
indexing: summary | attribute
# index-to: artist, default
}


field title type string {
indexing: summary | index
# index-to: title, default
}

field year type int {
indexing: summary | attribute
# index-to:default
attribute : fast-search
}

}

}