summaryrefslogtreecommitdiffstats
path: root/config-model/src/test/derived/rankprofileinheritance/child.sd
diff options
context:
space:
mode:
Diffstat (limited to 'config-model/src/test/derived/rankprofileinheritance/child.sd')
-rw-r--r--config-model/src/test/derived/rankprofileinheritance/child.sd37
1 files changed, 37 insertions, 0 deletions
diff --git a/config-model/src/test/derived/rankprofileinheritance/child.sd b/config-model/src/test/derived/rankprofileinheritance/child.sd
new file mode 100644
index 00000000000..f76aa3a1f10
--- /dev/null
+++ b/config-model/src/test/derived/rankprofileinheritance/child.sd
@@ -0,0 +1,37 @@
+schema child {
+
+ document child inherits parent1, parent2 {
+
+ field field3 type int {
+ indexing: attribute
+ }
+
+ }
+
+ rank-profile profile3 inherits profile1 {
+
+ function function3() {
+ expression: attribute(field3) + 5
+ }
+
+ summary-features {
+ function3
+ attribute(field3)
+ }
+
+ }
+
+ rank-profile profile4 inherits profile2 {
+
+ function function4() {
+ expression: attribute(field3) + 5
+ }
+
+ summary-features inherits profile2 {
+ function4
+ attribute(field3)
+ }
+
+ }
+
+} \ No newline at end of file