summaryrefslogtreecommitdiffstats
path: root/config-model/src/test/derived/rankprofileinheritance/parent1.sd
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@gmail.com>2020-06-02 08:44:21 +0200
committerJon Bratseth <bratseth@gmail.com>2020-06-02 08:44:21 +0200
commitac03f1b821c15062986c6542d248b19c66a17db9 (patch)
treed22523a69073f8d747ac09b614cd88f0ec117106 /config-model/src/test/derived/rankprofileinheritance/parent1.sd
parent2e3d463d90a4834b65446415e1f92389091716ab (diff)
Explicitly inherit summary features
Diffstat (limited to 'config-model/src/test/derived/rankprofileinheritance/parent1.sd')
-rw-r--r--config-model/src/test/derived/rankprofileinheritance/parent1.sd24
1 files changed, 24 insertions, 0 deletions
diff --git a/config-model/src/test/derived/rankprofileinheritance/parent1.sd b/config-model/src/test/derived/rankprofileinheritance/parent1.sd
new file mode 100644
index 00000000000..ea11ffbc82e
--- /dev/null
+++ b/config-model/src/test/derived/rankprofileinheritance/parent1.sd
@@ -0,0 +1,24 @@
+schema parent1 {
+
+ document parent1 {
+
+ field field1 type int {
+ indexing: attribute
+ }
+
+ }
+
+ rank-profile profile1 {
+
+ function function1() {
+ expression: attribute(field1) + 5
+ }
+
+ summary-features {
+ function1
+ attribute(field1)
+ }
+
+ }
+
+}