summaryrefslogtreecommitdiffstats
path: root/config-model/src/test/derived/streamingjuniper
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/streamingjuniper
Publish
Diffstat (limited to 'config-model/src/test/derived/streamingjuniper')
-rw-r--r--config-model/src/test/derived/streamingjuniper/streamingjuniper.sd15
-rw-r--r--config-model/src/test/derived/streamingjuniper/vsmsummary.cfg11
2 files changed, 26 insertions, 0 deletions
diff --git a/config-model/src/test/derived/streamingjuniper/streamingjuniper.sd b/config-model/src/test/derived/streamingjuniper/streamingjuniper.sd
new file mode 100644
index 00000000000..b7fb367112a
--- /dev/null
+++ b/config-model/src/test/derived/streamingjuniper/streamingjuniper.sd
@@ -0,0 +1,15 @@
+# Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+search streamingjuniper {
+ document streamingjuniper {
+ field f1 type string {
+ indexing: index | summary
+ header
+ bolding: on
+ }
+ field f2 type string {
+ indexing: index | summary
+ header
+ summary: dynamic
+ }
+ }
+}
diff --git a/config-model/src/test/derived/streamingjuniper/vsmsummary.cfg b/config-model/src/test/derived/streamingjuniper/vsmsummary.cfg
new file mode 100644
index 00000000000..939f3453e3b
--- /dev/null
+++ b/config-model/src/test/derived/streamingjuniper/vsmsummary.cfg
@@ -0,0 +1,11 @@
+outputclass ""
+fieldmap[0].summary "f1"
+fieldmap[0].document[0].field "f1"
+fieldmap[0].command FLATTENJUNIPER
+fieldmap[1].summary "f2"
+fieldmap[1].document[0].field "f2"
+fieldmap[1].command FLATTENJUNIPER
+fieldmap[2].summary "rankfeatures"
+fieldmap[2].command NONE
+fieldmap[3].summary "summaryfeatures"
+fieldmap[3].command NONE \ No newline at end of file