summaryrefslogtreecommitdiffstats
path: root/config-model/src/test/derived/rankprofileinheritance/parent2.sd
diff options
context:
space:
mode:
Diffstat (limited to 'config-model/src/test/derived/rankprofileinheritance/parent2.sd')
-rw-r--r--config-model/src/test/derived/rankprofileinheritance/parent2.sd24
1 files changed, 24 insertions, 0 deletions
diff --git a/config-model/src/test/derived/rankprofileinheritance/parent2.sd b/config-model/src/test/derived/rankprofileinheritance/parent2.sd
new file mode 100644
index 00000000000..1246f7264b3
--- /dev/null
+++ b/config-model/src/test/derived/rankprofileinheritance/parent2.sd
@@ -0,0 +1,24 @@
+schema parent2 {
+
+ document parent2 {
+
+ field field2 type int {
+ indexing: attribute
+ }
+
+ }
+
+ rank-profile profile2 {
+
+ function function2() {
+ expression: attribute(field2) + 5
+ }
+
+ summary-features {
+ function2
+ attribute(field2)
+ }
+
+ }
+
+}