summaryrefslogtreecommitdiffstats
path: root/config-model/src/test/derived/position_nosummary
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/position_nosummary
Publish
Diffstat (limited to 'config-model/src/test/derived/position_nosummary')
-rw-r--r--config-model/src/test/derived/position_nosummary/position_nosummary.sd8
-rw-r--r--config-model/src/test/derived/position_nosummary/summary.cfg21
-rw-r--r--config-model/src/test/derived/position_nosummary/summarymap.cfg16
3 files changed, 45 insertions, 0 deletions
diff --git a/config-model/src/test/derived/position_nosummary/position_nosummary.sd b/config-model/src/test/derived/position_nosummary/position_nosummary.sd
new file mode 100644
index 00000000000..9b902b4d608
--- /dev/null
+++ b/config-model/src/test/derived/position_nosummary/position_nosummary.sd
@@ -0,0 +1,8 @@
+# Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+search position_nosummary {
+ document position_nosummary {
+ field pos type position {
+ indexing: attribute
+ }
+ }
+}
diff --git a/config-model/src/test/derived/position_nosummary/summary.cfg b/config-model/src/test/derived/position_nosummary/summary.cfg
new file mode 100644
index 00000000000..fbf091209b9
--- /dev/null
+++ b/config-model/src/test/derived/position_nosummary/summary.cfg
@@ -0,0 +1,21 @@
+defaultsummaryid 1727020212
+classes[0].id 1727020212
+classes[0].name "default"
+classes[0].fields[0].name "pos.position"
+classes[0].fields[0].type "xmlstring"
+classes[0].fields[1].name "pos.distance"
+classes[0].fields[1].type "integer"
+classes[0].fields[2].name "rankfeatures"
+classes[0].fields[2].type "featuredata"
+classes[0].fields[3].name "summaryfeatures"
+classes[0].fields[3].type "featuredata"
+classes[0].fields[4].name "documentid"
+classes[0].fields[4].type "longstring"
+classes[1].id 1530141163
+classes[1].name "attributeprefetch"
+classes[1].fields[0].name "pos_zcurve"
+classes[1].fields[0].type "int64"
+classes[1].fields[1].name "rankfeatures"
+classes[1].fields[1].type "featuredata"
+classes[1].fields[2].name "summaryfeatures"
+classes[1].fields[2].type "featuredata" \ No newline at end of file
diff --git a/config-model/src/test/derived/position_nosummary/summarymap.cfg b/config-model/src/test/derived/position_nosummary/summarymap.cfg
new file mode 100644
index 00000000000..2e8ada7daa0
--- /dev/null
+++ b/config-model/src/test/derived/position_nosummary/summarymap.cfg
@@ -0,0 +1,16 @@
+defaultoutputclass -1
+override[0].field "pos.position"
+override[0].command "positions"
+override[0].arguments "pos_zcurve"
+override[1].field "pos.distance"
+override[1].command "absdist"
+override[1].arguments "pos_zcurve"
+override[2].field "rankfeatures"
+override[2].command "rankfeatures"
+override[2].arguments ""
+override[3].field "summaryfeatures"
+override[3].command "summaryfeatures"
+override[3].arguments ""
+override[4].field "pos_zcurve"
+override[4].command "attribute"
+override[4].arguments "pos_zcurve" \ No newline at end of file