summaryrefslogtreecommitdiffstats
path: root/config-model/src/test/examples
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@gmail.com>2021-04-06 17:16:45 +0200
committerJon Bratseth <bratseth@gmail.com>2021-04-06 17:16:45 +0200
commitd119cf237be1491d970641b3e1037f9f1736296a (patch)
tree0f38cf4011d258cfb0061859612d80c372c9f3f1 /config-model/src/test/examples
parent6c9ad68c6d7e9c1f8be26a58b36e17e27b0c37bd (diff)
Add a test
Diffstat (limited to 'config-model/src/test/examples')
-rw-r--r--config-model/src/test/examples/indexrewrite.sd6
1 files changed, 4 insertions, 2 deletions
diff --git a/config-model/src/test/examples/indexrewrite.sd b/config-model/src/test/examples/indexrewrite.sd
index c7d038a719a..c9fa7a1530a 100644
--- a/config-model/src/test/examples/indexrewrite.sd
+++ b/config-model/src/test/examples/indexrewrite.sd
@@ -1,19 +1,21 @@
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
search indexrewrite {
+
document indexrewrite {
field title_src type string {
-
}
}
+
field title type string {
indexing: input title_src | lowercase | normalize | tokenize | index
- # index-to: title, titleabstract, default
indexing-rewrite: none
rank-type: about
stemming: none
alias: headline
}
+
field title_s type string {
indexing: input title_src | summary
}
+
}