aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjørn Christian Seime <bjorn.christian@seime.no>2023-07-10 10:45:49 +0200
committerGitHub <noreply@github.com>2023-07-10 10:45:49 +0200
commitd097d374cbc284b2a0a8459f47e87f9b83c68034 (patch)
tree4ba4ed59c6f784df7135770b770d1a94060be89d
parent2b9f22bbeb54a97a80bb2f241ab29dbb81ca3edb (diff)
parent1e048f9bd7d69a4f286757095429fed60a2bb964 (diff)
Merge pull request #27715 from vespa-engine/hmusum/remove-index-to
Remove unused, stale stuff related to index-to
-rw-r--r--config-model/src/main/java/com/yahoo/schema/processing/multifieldresolver/RankTypeResolver.java2
-rw-r--r--config-model/src/test/cfg/admin/metricconfig/schemas/music.sd2
-rw-r--r--config-model/src/test/cfg/application/app1/schemas/music.sd2
-rw-r--r--config-model/src/test/cfg/application/app1/schemas/product.sd1
-rw-r--r--config-model/src/test/cfg/application/app_complicated_deployment_spec/schemas/music.sd2
-rw-r--r--config-model/src/test/cfg/application/app_genericservices/schemas/music.sd2
-rw-r--r--config-model/src/test/cfg/application/sdfilenametest/schemas/notmusic.sd1
-rw-r--r--config-model/src/test/cfg/application/validation/testjars/nomanifest/searchdefinitions/book.sd6
-rw-r--r--config-model/src/test/cfg/application/validation/testjars/nomanifest/searchdefinitions/music.sd2
-rw-r--r--config-model/src/test/cfg/application/validation/testjars/nomanifest/searchdefinitions/video.sd7
-rw-r--r--config-model/src/test/cfg/application/validation/testjars/ok/searchdefinitions/book.sd6
-rw-r--r--config-model/src/test/cfg/application/validation/testjars/ok/searchdefinitions/music.sd2
-rw-r--r--config-model/src/test/cfg/application/validation/testjars/ok/searchdefinitions/video.sd7
-rw-r--r--config-model/src/test/cfg/routing/content_two_clusters/schemas/mobile.sd2
-rw-r--r--config-model/src/test/cfg/routing/content_two_clusters/schemas/music.sd2
-rw-r--r--config-model/src/test/cfg/routing/contentsimpleconfig/schemas/music.sd2
-rwxr-xr-xconfig-model/src/test/cfg/routing/replacehop/schemas/music.sd2
-rwxr-xr-xconfig-model/src/test/cfg/routing/replaceroute/schemas/music.sd2
-rw-r--r--config-model/src/test/cfg/search/data/travel/schemas/TTPOI.sd2
-rw-r--r--config-model/src/test/cfg/search/data/v2/inherited_rankprofiles/schemas/music.sd2
-rw-r--r--config-model/src/test/cfg/storage/app_index_higher_than_num_nodes/schemas/music.sd2
-rw-r--r--config-model/src/test/cfg/storage/clustercontroller_advanced/schemas/music.sd2
-rw-r--r--config-model/src/test/derived/music3/music3.sd2
-rw-r--r--config-model/src/test/derived/newrank/newrank.sd1
-rw-r--r--config-model/src/test/examples/attributesexactmatch.sd1
-rw-r--r--config-model/src/test/examples/casing.sd1
-rw-r--r--configserver/src/test/apps/app-jdisc-only-restart/schemas/music.sd2
-rw-r--r--configserver/src/test/apps/app-jdisc-only/schemas/music.sd2
-rw-r--r--configserver/src/test/apps/app-major-version-7/schemas/music.sd2
-rw-r--r--configserver/src/test/apps/app/schemas/music.sd2
-rw-r--r--configserver/src/test/apps/content/schemas/music.sd2
-rw-r--r--configserver/src/test/apps/content2/schemas/music.sd2
-rw-r--r--configserver/src/test/apps/deprecated-features-app/searchdefinitions/music.sd2
-rw-r--r--configserver/src/test/apps/hosted-no-write-access-control/schemas/music.sd1
-rw-r--r--configserver/src/test/apps/legacy-flag/schemas/music.sd2
-rw-r--r--configserver/src/test/apps/zkapp/schemas/music.sd2
-rw-r--r--configserver/src/test/apps/zkapp/schemas/product.sd1
-rw-r--r--configserver/src/test/apps/zkfeed/schemas/product.sd1
-rw-r--r--documentgen-test/etc/complex/music.sd3
-rw-r--r--documentgen-test/etc/complex/music2.sd3
-rw-r--r--documentgen-test/etc/complex/video.sd5
-rw-r--r--vespa-documentgen-plugin/etc/complex/book.sd3
-rw-r--r--vespa-documentgen-plugin/etc/complex/common.sd1
-rw-r--r--vespa-documentgen-plugin/etc/complex/music2.sd3
-rw-r--r--vespa-documentgen-plugin/etc/localapp/book.sd3
-rw-r--r--vespa-documentgen-plugin/etc/localapp/common.sd1
-rw-r--r--vespa-documentgen-plugin/etc/localapp/music.sd3
-rw-r--r--vespa-documentgen-plugin/etc/localapp/video.sd5
48 files changed, 1 insertions, 115 deletions
diff --git a/config-model/src/main/java/com/yahoo/schema/processing/multifieldresolver/RankTypeResolver.java b/config-model/src/main/java/com/yahoo/schema/processing/multifieldresolver/RankTypeResolver.java
index 6424fd8ba06..e86ac6dabfc 100644
--- a/config-model/src/main/java/com/yahoo/schema/processing/multifieldresolver/RankTypeResolver.java
+++ b/config-model/src/main/java/com/yahoo/schema/processing/multifieldresolver/RankTypeResolver.java
@@ -11,7 +11,7 @@ import java.util.logging.Level;
/**
* Checks if fields have defined different rank types for the same
- * index (typically in an index-to statement), and if they have
+ * index (typically in a fieldset statement), and if they have
* output a warning and use the first ranktype.
*
* @author hmusum
diff --git a/config-model/src/test/cfg/admin/metricconfig/schemas/music.sd b/config-model/src/test/cfg/admin/metricconfig/schemas/music.sd
index f90d805ce6a..71d588662a0 100644
--- a/config-model/src/test/cfg/admin/metricconfig/schemas/music.sd
+++ b/config-model/src/test/cfg/admin/metricconfig/schemas/music.sd
@@ -3,11 +3,9 @@ search music {
document music {
field f1 type string {
indexing: summary | index
- # index-to: f1, all
}
field f2 type string {
indexing: summary | index
- # index-to: f2, all
}
}
}
diff --git a/config-model/src/test/cfg/application/app1/schemas/music.sd b/config-model/src/test/cfg/application/app1/schemas/music.sd
index 92e87848a8a..4e220f96727 100644
--- a/config-model/src/test/cfg/application/app1/schemas/music.sd
+++ b/config-model/src/test/cfg/application/app1/schemas/music.sd
@@ -7,13 +7,11 @@ search music {
field title type string {
indexing: summary | index # How this field should be indexed
- # index-to: title, default # Create two indexes
rank-type: about # Type of ranking settings to apply
}
field artist type string {
indexing: summary | attribute | index
- # index-to: artist, default
rank-type:about
}
diff --git a/config-model/src/test/cfg/application/app1/schemas/product.sd b/config-model/src/test/cfg/application/app1/schemas/product.sd
index 132ae15053f..70c9343d63a 100644
--- a/config-model/src/test/cfg/application/app1/schemas/product.sd
+++ b/config-model/src/test/cfg/application/app1/schemas/product.sd
@@ -3,7 +3,6 @@ document product {
field title type string {
indexing: index | summary
- # index-to: title, default
}
field price type int {
diff --git a/config-model/src/test/cfg/application/app_complicated_deployment_spec/schemas/music.sd b/config-model/src/test/cfg/application/app_complicated_deployment_spec/schemas/music.sd
index 92e87848a8a..4e220f96727 100644
--- a/config-model/src/test/cfg/application/app_complicated_deployment_spec/schemas/music.sd
+++ b/config-model/src/test/cfg/application/app_complicated_deployment_spec/schemas/music.sd
@@ -7,13 +7,11 @@ search music {
field title type string {
indexing: summary | index # How this field should be indexed
- # index-to: title, default # Create two indexes
rank-type: about # Type of ranking settings to apply
}
field artist type string {
indexing: summary | attribute | index
- # index-to: artist, default
rank-type:about
}
diff --git a/config-model/src/test/cfg/application/app_genericservices/schemas/music.sd b/config-model/src/test/cfg/application/app_genericservices/schemas/music.sd
index 92e87848a8a..4e220f96727 100644
--- a/config-model/src/test/cfg/application/app_genericservices/schemas/music.sd
+++ b/config-model/src/test/cfg/application/app_genericservices/schemas/music.sd
@@ -7,13 +7,11 @@ search music {
field title type string {
indexing: summary | index # How this field should be indexed
- # index-to: title, default # Create two indexes
rank-type: about # Type of ranking settings to apply
}
field artist type string {
indexing: summary | attribute | index
- # index-to: artist, default
rank-type:about
}
diff --git a/config-model/src/test/cfg/application/sdfilenametest/schemas/notmusic.sd b/config-model/src/test/cfg/application/sdfilenametest/schemas/notmusic.sd
index 19528975587..a4cf5cef1a1 100644
--- a/config-model/src/test/cfg/application/sdfilenametest/schemas/notmusic.sd
+++ b/config-model/src/test/cfg/application/sdfilenametest/schemas/notmusic.sd
@@ -5,7 +5,6 @@ search music {
field title type string {
indexing: summary | index
- # index-to: title, default
}
}
diff --git a/config-model/src/test/cfg/application/validation/testjars/nomanifest/searchdefinitions/book.sd b/config-model/src/test/cfg/application/validation/testjars/nomanifest/searchdefinitions/book.sd
index 73b540627d7..ba298f4fcba 100644
--- a/config-model/src/test/cfg/application/validation/testjars/nomanifest/searchdefinitions/book.sd
+++ b/config-model/src/test/cfg/application/validation/testjars/nomanifest/searchdefinitions/book.sd
@@ -2,34 +2,28 @@ search book {
document book inherits base {
field title type string {
bolding: on
- index-to: default, title
indexing: index|summary
rank-type: about
}
field dispauthor type string {
bolding: on
- index-to: default, dispauthor
indexing: index|summary
rank-type: about
}
field author type string {
bolding: on
- index-to: default, author
indexing: index|summary
rank-type: about
}
field keys type string {
- index-to: default, keys
indexing: index
rank-type: about
}
field isbn type string {
- index-to: default, isbn
indexing: index|summary
rank-type: about
}
field series type string {
- index-to: default, series
indexing: index
rank-type: about
}
diff --git a/config-model/src/test/cfg/application/validation/testjars/nomanifest/searchdefinitions/music.sd b/config-model/src/test/cfg/application/validation/testjars/nomanifest/searchdefinitions/music.sd
index 498bc79489f..21da176564b 100644
--- a/config-model/src/test/cfg/application/validation/testjars/nomanifest/searchdefinitions/music.sd
+++ b/config-model/src/test/cfg/application/validation/testjars/nomanifest/searchdefinitions/music.sd
@@ -2,11 +2,9 @@ search music {
document music inherits base {
field f1 type string {
indexing: summary | index
- index-to: f1, all
}
field f2 type string {
indexing: summary | index
- index-to: f2, all
}
}
}
diff --git a/config-model/src/test/cfg/application/validation/testjars/nomanifest/searchdefinitions/video.sd b/config-model/src/test/cfg/application/validation/testjars/nomanifest/searchdefinitions/video.sd
index b010b6d9769..5462be17374 100644
--- a/config-model/src/test/cfg/application/validation/testjars/nomanifest/searchdefinitions/video.sd
+++ b/config-model/src/test/cfg/application/validation/testjars/nomanifest/searchdefinitions/video.sd
@@ -2,41 +2,34 @@ search video {
document video inherits base {
field title type string {
bolding: on
- index-to: default, title
indexing: index|summary
rank-type: about
}
field keys type string {
- index-to: default, keys
indexing: index
rank-type: about
}
field director type string {
bolding: on
- index-to: default, director
indexing: index|summary
rank-type: about
}
field disp_actor type string {
bolding: on
- index-to: default, disp_actor
indexing: index|summary
rank-type: about
}
field actor type string {
bolding: on
- index-to: default, actor
indexing: index|summary
rank-type: about
}
field fmt type string {
- index-to: default, fmt
indexing: index|summary
rank-type: about
}
field isbn type string {
bolding: on
- index-to: default, isbn
indexing: index|summary
rank-type: about
}
diff --git a/config-model/src/test/cfg/application/validation/testjars/ok/searchdefinitions/book.sd b/config-model/src/test/cfg/application/validation/testjars/ok/searchdefinitions/book.sd
index 73b540627d7..ba298f4fcba 100644
--- a/config-model/src/test/cfg/application/validation/testjars/ok/searchdefinitions/book.sd
+++ b/config-model/src/test/cfg/application/validation/testjars/ok/searchdefinitions/book.sd
@@ -2,34 +2,28 @@ search book {
document book inherits base {
field title type string {
bolding: on
- index-to: default, title
indexing: index|summary
rank-type: about
}
field dispauthor type string {
bolding: on
- index-to: default, dispauthor
indexing: index|summary
rank-type: about
}
field author type string {
bolding: on
- index-to: default, author
indexing: index|summary
rank-type: about
}
field keys type string {
- index-to: default, keys
indexing: index
rank-type: about
}
field isbn type string {
- index-to: default, isbn
indexing: index|summary
rank-type: about
}
field series type string {
- index-to: default, series
indexing: index
rank-type: about
}
diff --git a/config-model/src/test/cfg/application/validation/testjars/ok/searchdefinitions/music.sd b/config-model/src/test/cfg/application/validation/testjars/ok/searchdefinitions/music.sd
index 498bc79489f..21da176564b 100644
--- a/config-model/src/test/cfg/application/validation/testjars/ok/searchdefinitions/music.sd
+++ b/config-model/src/test/cfg/application/validation/testjars/ok/searchdefinitions/music.sd
@@ -2,11 +2,9 @@ search music {
document music inherits base {
field f1 type string {
indexing: summary | index
- index-to: f1, all
}
field f2 type string {
indexing: summary | index
- index-to: f2, all
}
}
}
diff --git a/config-model/src/test/cfg/application/validation/testjars/ok/searchdefinitions/video.sd b/config-model/src/test/cfg/application/validation/testjars/ok/searchdefinitions/video.sd
index b010b6d9769..5462be17374 100644
--- a/config-model/src/test/cfg/application/validation/testjars/ok/searchdefinitions/video.sd
+++ b/config-model/src/test/cfg/application/validation/testjars/ok/searchdefinitions/video.sd
@@ -2,41 +2,34 @@ search video {
document video inherits base {
field title type string {
bolding: on
- index-to: default, title
indexing: index|summary
rank-type: about
}
field keys type string {
- index-to: default, keys
indexing: index
rank-type: about
}
field director type string {
bolding: on
- index-to: default, director
indexing: index|summary
rank-type: about
}
field disp_actor type string {
bolding: on
- index-to: default, disp_actor
indexing: index|summary
rank-type: about
}
field actor type string {
bolding: on
- index-to: default, actor
indexing: index|summary
rank-type: about
}
field fmt type string {
- index-to: default, fmt
indexing: index|summary
rank-type: about
}
field isbn type string {
bolding: on
- index-to: default, isbn
indexing: index|summary
rank-type: about
}
diff --git a/config-model/src/test/cfg/routing/content_two_clusters/schemas/mobile.sd b/config-model/src/test/cfg/routing/content_two_clusters/schemas/mobile.sd
index 60ea98235b0..3cc3dcf5526 100644
--- a/config-model/src/test/cfg/routing/content_two_clusters/schemas/mobile.sd
+++ b/config-model/src/test/cfg/routing/content_two_clusters/schemas/mobile.sd
@@ -3,11 +3,9 @@ search mobile {
document mobile {
field f1 type string {
indexing: summary | index
- # index-to: f1, all
}
field f2 type string {
indexing: summary | index
- # index-to: f2, all
}
}
}
diff --git a/config-model/src/test/cfg/routing/content_two_clusters/schemas/music.sd b/config-model/src/test/cfg/routing/content_two_clusters/schemas/music.sd
index 290f8983b4d..982607955a7 100644
--- a/config-model/src/test/cfg/routing/content_two_clusters/schemas/music.sd
+++ b/config-model/src/test/cfg/routing/content_two_clusters/schemas/music.sd
@@ -3,11 +3,9 @@ search music {
document music {
field f1 type string {
indexing: summary | index
- # index-to: f1, all
}
field f2 type string {
indexing: summary | index
- # index-to: f2, all
}
}
}
diff --git a/config-model/src/test/cfg/routing/contentsimpleconfig/schemas/music.sd b/config-model/src/test/cfg/routing/contentsimpleconfig/schemas/music.sd
index 290f8983b4d..982607955a7 100644
--- a/config-model/src/test/cfg/routing/contentsimpleconfig/schemas/music.sd
+++ b/config-model/src/test/cfg/routing/contentsimpleconfig/schemas/music.sd
@@ -3,11 +3,9 @@ search music {
document music {
field f1 type string {
indexing: summary | index
- # index-to: f1, all
}
field f2 type string {
indexing: summary | index
- # index-to: f2, all
}
}
}
diff --git a/config-model/src/test/cfg/routing/replacehop/schemas/music.sd b/config-model/src/test/cfg/routing/replacehop/schemas/music.sd
index 274c6ca63d6..c4dcecbd6ac 100755
--- a/config-model/src/test/cfg/routing/replacehop/schemas/music.sd
+++ b/config-model/src/test/cfg/routing/replacehop/schemas/music.sd
@@ -3,11 +3,9 @@ search music {
document music {
field f1 type string {
indexing: summary | index
- # index-to: f1, all
}
field f2 type string {
indexing: summary | index
- # index-to: f2, all
}
}
}
diff --git a/config-model/src/test/cfg/routing/replaceroute/schemas/music.sd b/config-model/src/test/cfg/routing/replaceroute/schemas/music.sd
index 274c6ca63d6..c4dcecbd6ac 100755
--- a/config-model/src/test/cfg/routing/replaceroute/schemas/music.sd
+++ b/config-model/src/test/cfg/routing/replaceroute/schemas/music.sd
@@ -3,11 +3,9 @@ search music {
document music {
field f1 type string {
indexing: summary | index
- # index-to: f1, all
}
field f2 type string {
indexing: summary | index
- # index-to: f2, all
}
}
}
diff --git a/config-model/src/test/cfg/search/data/travel/schemas/TTPOI.sd b/config-model/src/test/cfg/search/data/travel/schemas/TTPOI.sd
index f3fe2cdf445..7895d98b2e0 100644
--- a/config-model/src/test/cfg/search/data/travel/schemas/TTPOI.sd
+++ b/config-model/src/test/cfg/search/data/travel/schemas/TTPOI.sd
@@ -4,13 +4,11 @@ document TTPOI {
# categories associated with the POI
field Categories type array<string> {
indexing: summary | index
- # index-to: Categories
}
# sub catagories associated with the POI
field SubCategories type array<string> {
indexing: summary | index
- # index-to: SubCategories
}
}
diff --git a/config-model/src/test/cfg/search/data/v2/inherited_rankprofiles/schemas/music.sd b/config-model/src/test/cfg/search/data/v2/inherited_rankprofiles/schemas/music.sd
index 290f8983b4d..982607955a7 100644
--- a/config-model/src/test/cfg/search/data/v2/inherited_rankprofiles/schemas/music.sd
+++ b/config-model/src/test/cfg/search/data/v2/inherited_rankprofiles/schemas/music.sd
@@ -3,11 +3,9 @@ search music {
document music {
field f1 type string {
indexing: summary | index
- # index-to: f1, all
}
field f2 type string {
indexing: summary | index
- # index-to: f2, all
}
}
}
diff --git a/config-model/src/test/cfg/storage/app_index_higher_than_num_nodes/schemas/music.sd b/config-model/src/test/cfg/storage/app_index_higher_than_num_nodes/schemas/music.sd
index 290f8983b4d..982607955a7 100644
--- a/config-model/src/test/cfg/storage/app_index_higher_than_num_nodes/schemas/music.sd
+++ b/config-model/src/test/cfg/storage/app_index_higher_than_num_nodes/schemas/music.sd
@@ -3,11 +3,9 @@ search music {
document music {
field f1 type string {
indexing: summary | index
- # index-to: f1, all
}
field f2 type string {
indexing: summary | index
- # index-to: f2, all
}
}
}
diff --git a/config-model/src/test/cfg/storage/clustercontroller_advanced/schemas/music.sd b/config-model/src/test/cfg/storage/clustercontroller_advanced/schemas/music.sd
index 290f8983b4d..982607955a7 100644
--- a/config-model/src/test/cfg/storage/clustercontroller_advanced/schemas/music.sd
+++ b/config-model/src/test/cfg/storage/clustercontroller_advanced/schemas/music.sd
@@ -3,11 +3,9 @@ search music {
document music {
field f1 type string {
indexing: summary | index
- # index-to: f1, all
}
field f2 type string {
indexing: summary | index
- # index-to: f2, all
}
}
}
diff --git a/config-model/src/test/derived/music3/music3.sd b/config-model/src/test/derived/music3/music3.sd
index 7123c45bac2..47867683c62 100644
--- a/config-model/src/test/derived/music3/music3.sd
+++ b/config-model/src/test/derived/music3/music3.sd
@@ -5,13 +5,11 @@ schema music3 {
field title type string {
indexing: summary | index
- # index-to: title, default
rank-type: about
}
field artist type string {
indexing: summary | attribute | index
- # index-to: artist, default
rank-type:about
}
diff --git a/config-model/src/test/derived/newrank/newrank.sd b/config-model/src/test/derived/newrank/newrank.sd
index 345d01bffb5..a01f292eb27 100644
--- a/config-model/src/test/derived/newrank/newrank.sd
+++ b/config-model/src/test/derived/newrank/newrank.sd
@@ -99,7 +99,6 @@ schema newrank{
field artist type string {
indexing: summary | index
- # index-to: artist, default
}
field artistspid type string {
diff --git a/config-model/src/test/examples/attributesexactmatch.sd b/config-model/src/test/examples/attributesexactmatch.sd
index 2db687cb20d..5529906adce 100644
--- a/config-model/src/test/examples/attributesexactmatch.sd
+++ b/config-model/src/test/examples/attributesexactmatch.sd
@@ -29,7 +29,6 @@ search music {
}
field genre type string {
- # index-to: foo
}
field trumpetist type string {
diff --git a/config-model/src/test/examples/casing.sd b/config-model/src/test/examples/casing.sd
index b0ce0a07748..7564934949b 100644
--- a/config-model/src/test/examples/casing.sd
+++ b/config-model/src/test/examples/casing.sd
@@ -31,7 +31,6 @@ search music {
field Genre type string {
indexing: index
- # index-to: Foo
alias Foo: sjanger
}
diff --git a/configserver/src/test/apps/app-jdisc-only-restart/schemas/music.sd b/configserver/src/test/apps/app-jdisc-only-restart/schemas/music.sd
index a45c62ccdc7..71cfc346117 100644
--- a/configserver/src/test/apps/app-jdisc-only-restart/schemas/music.sd
+++ b/configserver/src/test/apps/app-jdisc-only-restart/schemas/music.sd
@@ -7,13 +7,11 @@ search music {
field title type string {
indexing: summary | index # How this field should be indexed
- # index-to: title, default # Create two indexes
weight: 75 # Ranking importancy of this field, used by the built in nativeRank feature
}
field artist type string {
indexing: summary | attribute | index
- # index-to: artist, default
weight: 25
}
diff --git a/configserver/src/test/apps/app-jdisc-only/schemas/music.sd b/configserver/src/test/apps/app-jdisc-only/schemas/music.sd
index a45c62ccdc7..71cfc346117 100644
--- a/configserver/src/test/apps/app-jdisc-only/schemas/music.sd
+++ b/configserver/src/test/apps/app-jdisc-only/schemas/music.sd
@@ -7,13 +7,11 @@ search music {
field title type string {
indexing: summary | index # How this field should be indexed
- # index-to: title, default # Create two indexes
weight: 75 # Ranking importancy of this field, used by the built in nativeRank feature
}
field artist type string {
indexing: summary | attribute | index
- # index-to: artist, default
weight: 25
}
diff --git a/configserver/src/test/apps/app-major-version-7/schemas/music.sd b/configserver/src/test/apps/app-major-version-7/schemas/music.sd
index f4b11d1e8e4..85db4873ba1 100644
--- a/configserver/src/test/apps/app-major-version-7/schemas/music.sd
+++ b/configserver/src/test/apps/app-major-version-7/schemas/music.sd
@@ -7,13 +7,11 @@ search music {
field title type string {
indexing: summary | index # How this field should be indexed
- # index-to: title, default # Create two indexes
weight: 75 # Ranking importancy of this field, used by the built in nativeRank feature
}
field artist type string {
indexing: summary | attribute | index
- # index-to: artist, default
weight: 25
}
diff --git a/configserver/src/test/apps/app/schemas/music.sd b/configserver/src/test/apps/app/schemas/music.sd
index f4b11d1e8e4..85db4873ba1 100644
--- a/configserver/src/test/apps/app/schemas/music.sd
+++ b/configserver/src/test/apps/app/schemas/music.sd
@@ -7,13 +7,11 @@ search music {
field title type string {
indexing: summary | index # How this field should be indexed
- # index-to: title, default # Create two indexes
weight: 75 # Ranking importancy of this field, used by the built in nativeRank feature
}
field artist type string {
indexing: summary | attribute | index
- # index-to: artist, default
weight: 25
}
diff --git a/configserver/src/test/apps/content/schemas/music.sd b/configserver/src/test/apps/content/schemas/music.sd
index f4b11d1e8e4..85db4873ba1 100644
--- a/configserver/src/test/apps/content/schemas/music.sd
+++ b/configserver/src/test/apps/content/schemas/music.sd
@@ -7,13 +7,11 @@ search music {
field title type string {
indexing: summary | index # How this field should be indexed
- # index-to: title, default # Create two indexes
weight: 75 # Ranking importancy of this field, used by the built in nativeRank feature
}
field artist type string {
indexing: summary | attribute | index
- # index-to: artist, default
weight: 25
}
diff --git a/configserver/src/test/apps/content2/schemas/music.sd b/configserver/src/test/apps/content2/schemas/music.sd
index f4b11d1e8e4..85db4873ba1 100644
--- a/configserver/src/test/apps/content2/schemas/music.sd
+++ b/configserver/src/test/apps/content2/schemas/music.sd
@@ -7,13 +7,11 @@ search music {
field title type string {
indexing: summary | index # How this field should be indexed
- # index-to: title, default # Create two indexes
weight: 75 # Ranking importancy of this field, used by the built in nativeRank feature
}
field artist type string {
indexing: summary | attribute | index
- # index-to: artist, default
weight: 25
}
diff --git a/configserver/src/test/apps/deprecated-features-app/searchdefinitions/music.sd b/configserver/src/test/apps/deprecated-features-app/searchdefinitions/music.sd
index a45c62ccdc7..71cfc346117 100644
--- a/configserver/src/test/apps/deprecated-features-app/searchdefinitions/music.sd
+++ b/configserver/src/test/apps/deprecated-features-app/searchdefinitions/music.sd
@@ -7,13 +7,11 @@ search music {
field title type string {
indexing: summary | index # How this field should be indexed
- # index-to: title, default # Create two indexes
weight: 75 # Ranking importancy of this field, used by the built in nativeRank feature
}
field artist type string {
indexing: summary | attribute | index
- # index-to: artist, default
weight: 25
}
diff --git a/configserver/src/test/apps/hosted-no-write-access-control/schemas/music.sd b/configserver/src/test/apps/hosted-no-write-access-control/schemas/music.sd
index cb4b860e019..49475dc7f77 100644
--- a/configserver/src/test/apps/hosted-no-write-access-control/schemas/music.sd
+++ b/configserver/src/test/apps/hosted-no-write-access-control/schemas/music.sd
@@ -3,7 +3,6 @@ search music {
document music {
field title type string {
indexing: index | summary
- # index-to: default
}
}
}
diff --git a/configserver/src/test/apps/legacy-flag/schemas/music.sd b/configserver/src/test/apps/legacy-flag/schemas/music.sd
index f4b11d1e8e4..85db4873ba1 100644
--- a/configserver/src/test/apps/legacy-flag/schemas/music.sd
+++ b/configserver/src/test/apps/legacy-flag/schemas/music.sd
@@ -7,13 +7,11 @@ search music {
field title type string {
indexing: summary | index # How this field should be indexed
- # index-to: title, default # Create two indexes
weight: 75 # Ranking importancy of this field, used by the built in nativeRank feature
}
field artist type string {
indexing: summary | attribute | index
- # index-to: artist, default
weight: 25
}
diff --git a/configserver/src/test/apps/zkapp/schemas/music.sd b/configserver/src/test/apps/zkapp/schemas/music.sd
index 7616e2370b4..cc7844e76d5 100644
--- a/configserver/src/test/apps/zkapp/schemas/music.sd
+++ b/configserver/src/test/apps/zkapp/schemas/music.sd
@@ -7,13 +7,11 @@ search music {
field title type string {
indexing: summary | index # How this field should be indexed
- # index-to: title, default # Create two indexes
rank-type: about # Type of ranking settings to apply
}
field artist type string {
indexing: summary | attribute | index
- # index-to: artist, default
rank-type:about
}
diff --git a/configserver/src/test/apps/zkapp/schemas/product.sd b/configserver/src/test/apps/zkapp/schemas/product.sd
index 132ae15053f..70c9343d63a 100644
--- a/configserver/src/test/apps/zkapp/schemas/product.sd
+++ b/configserver/src/test/apps/zkapp/schemas/product.sd
@@ -3,7 +3,6 @@ document product {
field title type string {
indexing: index | summary
- # index-to: title, default
}
field price type int {
diff --git a/configserver/src/test/apps/zkfeed/schemas/product.sd b/configserver/src/test/apps/zkfeed/schemas/product.sd
index 132ae15053f..70c9343d63a 100644
--- a/configserver/src/test/apps/zkfeed/schemas/product.sd
+++ b/configserver/src/test/apps/zkfeed/schemas/product.sd
@@ -3,7 +3,6 @@ document product {
field title type string {
indexing: index | summary
- # index-to: title, default
}
field price type int {
diff --git a/documentgen-test/etc/complex/music.sd b/documentgen-test/etc/complex/music.sd
index e91adeed039..11abbaa154e 100644
--- a/documentgen-test/etc/complex/music.sd
+++ b/documentgen-test/etc/complex/music.sd
@@ -3,19 +3,16 @@ search music {
document music inherits common {
field artist type string {
bolding: on
- # index-to: default, artist
indexing: index|summary
}
field disp_song type string {
indexing: summary
}
field song type string {
- # index-to: default, song
indexing: index
}
field isbn type string {
bolding: on
- # index-to: default, isbn
indexing: index|summary
}
field year type int {
diff --git a/documentgen-test/etc/complex/music2.sd b/documentgen-test/etc/complex/music2.sd
index 34419eeea6a..64e91caf25b 100644
--- a/documentgen-test/etc/complex/music2.sd
+++ b/documentgen-test/etc/complex/music2.sd
@@ -3,19 +3,16 @@ search music2 {
document music2 inherits common {
field artist type string {
bolding: on
- # index-to: default, artist
indexing: index|summary
}
field disp_song type string {
indexing: summary
}
field song type string {
- # index-to: default, song
indexing: index
}
field isbn type string {
bolding: on
- # index-to: default, isbn
indexing: index|summary
}
field year type int {
diff --git a/documentgen-test/etc/complex/video.sd b/documentgen-test/etc/complex/video.sd
index 5ca283eaa96..95cb4228ad8 100644
--- a/documentgen-test/etc/complex/video.sd
+++ b/documentgen-test/etc/complex/video.sd
@@ -3,26 +3,21 @@ search video {
document video inherits common {
field director type string {
bolding: on
- # index-to: default, director
indexing: index|summary
}
field disp_actor type string {
bolding: on
- # index-to: default, disp_actor
indexing: index|summary
}
field actor type string {
bolding: on
- # index-to: default, actor
indexing: index|summary
}
field fmt type string {
- # index-to: default, fmt
indexing: index|summary
}
field isbn type string {
bolding: on
- # index-to: default, isbn
indexing: index|summary
}
field year type int {
diff --git a/vespa-documentgen-plugin/etc/complex/book.sd b/vespa-documentgen-plugin/etc/complex/book.sd
index addc556fc9b..8f071ab63d1 100644
--- a/vespa-documentgen-plugin/etc/complex/book.sd
+++ b/vespa-documentgen-plugin/etc/complex/book.sd
@@ -47,18 +47,15 @@ search book {
field author type string {
bolding: on
- # index-to: default, author
indexing: summary | index
}
field isbn type string {
- # index-to: default, isbn
indexing: summary | index
}
field year type int {
indexing: summary | index
}
field description type string {
- # index-to: default, description
indexing: summary | index
summary: dynamic
}
diff --git a/vespa-documentgen-plugin/etc/complex/common.sd b/vespa-documentgen-plugin/etc/complex/common.sd
index d07f8ca9281..3ab6e18c267 100644
--- a/vespa-documentgen-plugin/etc/complex/common.sd
+++ b/vespa-documentgen-plugin/etc/complex/common.sd
@@ -6,7 +6,6 @@ search common {
}
field title type string {
bolding: on
- # index-to: default, title
indexing: index|summary
summary-to: smallsum
}
diff --git a/vespa-documentgen-plugin/etc/complex/music2.sd b/vespa-documentgen-plugin/etc/complex/music2.sd
index 327fbeec04b..17736ab4e79 100644
--- a/vespa-documentgen-plugin/etc/complex/music2.sd
+++ b/vespa-documentgen-plugin/etc/complex/music2.sd
@@ -3,19 +3,16 @@ search music2 {
document music2 inherits common {
field artist type string {
bolding: on
- # index-to: default, artist
indexing: index|summary
}
field disp_song type string {
indexing: summary
}
field song type string {
- # index-to: default, song
indexing: index
}
field isbn type string {
bolding: on
- # index-to: default, isbn
indexing: index|summary
}
field year type int {
diff --git a/vespa-documentgen-plugin/etc/localapp/book.sd b/vespa-documentgen-plugin/etc/localapp/book.sd
index a6f1ed9286f..8d7dd1e054e 100644
--- a/vespa-documentgen-plugin/etc/localapp/book.sd
+++ b/vespa-documentgen-plugin/etc/localapp/book.sd
@@ -46,18 +46,15 @@ search book {
field author type string {
bolding: on
- # index-to: default, author
indexing: summary | index
}
field isbn type string {
- # index-to: default, isbn
indexing: summary | index
}
field year type int {
indexing: summary | index
}
field description type string {
- # index-to: default, description
indexing: summary | index
summary: dynamic
}
diff --git a/vespa-documentgen-plugin/etc/localapp/common.sd b/vespa-documentgen-plugin/etc/localapp/common.sd
index ab55e08af0f..a7828432c6b 100644
--- a/vespa-documentgen-plugin/etc/localapp/common.sd
+++ b/vespa-documentgen-plugin/etc/localapp/common.sd
@@ -6,7 +6,6 @@ search common {
}
field title type string {
bolding: on
- # index-to: default, title
indexing: index|summary
summary-to: smallsum
}
diff --git a/vespa-documentgen-plugin/etc/localapp/music.sd b/vespa-documentgen-plugin/etc/localapp/music.sd
index cdcfdea6b75..0ce004857c2 100644
--- a/vespa-documentgen-plugin/etc/localapp/music.sd
+++ b/vespa-documentgen-plugin/etc/localapp/music.sd
@@ -3,19 +3,16 @@ search music {
document music inherits common {
field artist type string {
bolding: on
- # index-to: default, artist
indexing: index|summary
}
field disp_song type string {
indexing: summary
}
field song type string {
- # index-to: default, song
indexing: index
}
field isbn type string {
bolding: on
- # index-to: default, isbn
indexing: index|summary
}
field year type int {
diff --git a/vespa-documentgen-plugin/etc/localapp/video.sd b/vespa-documentgen-plugin/etc/localapp/video.sd
index 2f1f1f84512..03c5c82ed64 100644
--- a/vespa-documentgen-plugin/etc/localapp/video.sd
+++ b/vespa-documentgen-plugin/etc/localapp/video.sd
@@ -3,26 +3,21 @@ search video {
document video inherits common {
field director type string {
bolding: on
- # index-to: default, director
indexing: index|summary
}
field disp_actor type string {
bolding: on
- # index-to: default, disp_actor
indexing: index|summary
}
field actor type string {
bolding: on
- # index-to: default, actor
indexing: index|summary
}
field fmt type string {
- # index-to: default, fmt
indexing: index|summary
}
field isbn type string {
bolding: on
- # index-to: default, isbn
indexing: index|summary
}
field year type int {