summaryrefslogtreecommitdiffstats
path: root/config-model/src/test/derived/rankprofileinheritance/parent1.sd
diff options
context:
space:
mode:
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)
+ }
+
+ }
+
+}