summaryrefslogtreecommitdiffstats
path: root/config-model/src/test/derived/integerattributetostringindex
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@yahoo-inc.com>2016-06-15 23:09:44 +0200
committerJon Bratseth <bratseth@yahoo-inc.com>2016-06-15 23:09:44 +0200
commit72231250ed81e10d66bfe70701e64fa5fe50f712 (patch)
tree2728bba1131a6f6e5bdf95afec7d7ff9358dac50 /config-model/src/test/derived/integerattributetostringindex
Publish
Diffstat (limited to 'config-model/src/test/derived/integerattributetostringindex')
-rw-r--r--config-model/src/test/derived/integerattributetostringindex/integerattributetostringindex.sd28
-rw-r--r--config-model/src/test/derived/integerattributetostringindex/summary.cfg29
2 files changed, 57 insertions, 0 deletions
diff --git a/config-model/src/test/derived/integerattributetostringindex/integerattributetostringindex.sd b/config-model/src/test/derived/integerattributetostringindex/integerattributetostringindex.sd
new file mode 100644
index 00000000000..ecca60fd98b
--- /dev/null
+++ b/config-model/src/test/derived/integerattributetostringindex/integerattributetostringindex.sd
@@ -0,0 +1,28 @@
+# Copyright 2016 Yahoo Inc. 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
+}
+
+}
+
+}
diff --git a/config-model/src/test/derived/integerattributetostringindex/summary.cfg b/config-model/src/test/derived/integerattributetostringindex/summary.cfg
new file mode 100644
index 00000000000..87567ceb348
--- /dev/null
+++ b/config-model/src/test/derived/integerattributetostringindex/summary.cfg
@@ -0,0 +1,29 @@
+defaultsummaryid 1195656216
+classes[0].id 1195656216
+classes[0].name "default"
+classes[0].fields[0].name "attinx"
+classes[0].fields[0].type "integer"
+classes[0].fields[1].name "artist"
+classes[0].fields[1].type "longstring"
+classes[0].fields[2].name "title"
+classes[0].fields[2].type "longstring"
+classes[0].fields[3].name "year"
+classes[0].fields[3].type "integer"
+classes[0].fields[4].name "rankfeatures"
+classes[0].fields[4].type "featuredata"
+classes[0].fields[5].name "summaryfeatures"
+classes[0].fields[5].type "featuredata"
+classes[0].fields[6].name "documentid"
+classes[0].fields[6].type "longstring"
+classes[1].id 1706878063
+classes[1].name "attributeprefetch"
+classes[1].fields[0].name "attinx"
+classes[1].fields[0].type "integer"
+classes[1].fields[1].name "artist"
+classes[1].fields[1].type "longstring"
+classes[1].fields[2].name "year"
+classes[1].fields[2].type "integer"
+classes[1].fields[3].name "rankfeatures"
+classes[1].fields[3].type "featuredata"
+classes[1].fields[4].name "summaryfeatures"
+classes[1].fields[4].type "featuredata" \ No newline at end of file