summaryrefslogtreecommitdiffstats
path: root/config-model/src/test/derived/documentderiver/newsarticle.sd
diff options
context:
space:
mode:
Diffstat (limited to 'config-model/src/test/derived/documentderiver/newsarticle.sd')
-rw-r--r--config-model/src/test/derived/documentderiver/newsarticle.sd126
1 files changed, 126 insertions, 0 deletions
diff --git a/config-model/src/test/derived/documentderiver/newsarticle.sd b/config-model/src/test/derived/documentderiver/newsarticle.sd
new file mode 100644
index 00000000000..9407eca0d18
--- /dev/null
+++ b/config-model/src/test/derived/documentderiver/newsarticle.sd
@@ -0,0 +1,126 @@
+# Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+search newsarticle {
+
+ document newsarticle inherits newssummary {
+
+ field dynabstract type string {
+ indexing: summary
+ }
+
+ field body type string {
+ body
+ indexing: summary | index
+ # index-to: body, default
+ stemming: none
+ }
+
+ field othersourcenames type string {
+ indexing: summary | index
+ # index-to: othersourcenames, source
+ stemming: none
+ }
+
+ field author type string {
+ indexing: summary | index
+ stemming: none
+ }
+
+ field otherlanguages type string {
+ indexing: summary | index
+ # index-to: languages
+ stemming: none
+ }
+
+ field charset type string {
+ indexing: summary
+ stemming: none
+ }
+
+ field mimetype type string {
+ indexing: summary
+ stemming: none
+ }
+
+ field referrerurl type uri {
+ indexing: summary | lowercase | tokenize | index
+ stemming: none
+ }
+
+ field sourcelocation type string {
+ indexing: summary | index
+ stemming: none
+ alias: location
+ }
+
+ field sourcecountry type string {
+ indexing: summary | index
+ stemming: none
+ # index-to: sourcecountry, sourcelocation
+ }
+
+ field sourcelocale type string {
+ indexing: summary | index
+ stemming: none
+ # index-to: sourcelocale, sourcelocation
+ }
+
+ field sourcecontinent type string {
+ indexing: summary | index
+ stemming: none
+ # index-to: sourcecontinent, sourcelocation
+ }
+
+ field articlecountry type string {
+ indexing: summary | index
+ stemming: none
+ }
+
+ field articlelocale type string {
+ indexing: summary | index
+ stemming: none
+ }
+
+ field articlecontinent type string {
+ indexing: summary | index
+ stemming: none
+ }
+
+ field sourcerank type int {
+ indexing: summary | index | set_var tmpsourcerank
+ }
+
+ field crawldate type long {
+ indexing: summary | index
+ }
+
+ field indexdate type long {
+ indexing: now | summary | index
+ }
+
+ field procdate type long {
+ indexing: summary | index
+ }
+
+ field sourceid type int {
+ indexing: summary | index
+ }
+
+ field sourcefeedid type int {
+ indexing: summary | index
+ }
+
+ }
+
+ rank-profile date {
+ }
+
+ rank-profile usrank inherits default {
+ }
+
+ rank-profile eurank inherits default {
+ }
+
+ rank-profile asiarank inherits default {
+ }
+
+}