From 77c1ed7d16d344c29b9185724347a7f4887dd508 Mon Sep 17 00:00:00 2001 From: Tomoko Uchida Date: Sat, 31 Aug 2019 23:06:32 +0900 Subject: [PATCH] SOLR-13690: Migrate field type configurations in default/example schema files to look up factories by 'name' --- solr/CHANGES.txt | 2 +- .../example-DIH/solr/atom/conf/managed-schema | 36 +- .../example-DIH/solr/db/conf/managed-schema | 488 ++++++++-------- .../example-DIH/solr/mail/conf/managed-schema | 490 ++++++++-------- .../example-DIH/solr/solr/conf/managed-schema | 488 ++++++++-------- .../example-DIH/solr/tika/conf/managed-schema | 4 +- solr/example/files/conf/managed-schema | 438 +++++++------- .../configsets/_default/conf/managed-schema | 494 ++++++++-------- .../conf/managed-schema | 534 +++++++++--------- 9 files changed, 1487 insertions(+), 1487 deletions(-) diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt index b175de22329..a74eb91c901 100644 --- a/solr/CHANGES.txt +++ b/solr/CHANGES.txt @@ -64,7 +64,7 @@ Upgrade Notes * SOLR-11266: default Content-Type override for JSONResponseWriter from _default configSet is removed. Example has been provided in sample_techproducts_configs to override content-type. (Ishan Chattopadhyaya, Munendra S N, Gus Heck) -* SOLR-13593: Allow to look up analyzer components by their SPI names in field type configuration. (Tomoko Uchida) +* SOLR-13593 SOLR-13690: Allow to look up analyzer components by their SPI names in field type configuration. (Tomoko Uchida) Other Changes ---------------------- diff --git a/solr/example/example-DIH/solr/atom/conf/managed-schema b/solr/example/example-DIH/solr/atom/conf/managed-schema index 58751520d5c..5376c5ba03a 100644 --- a/solr/example/example-DIH/solr/atom/conf/managed-schema +++ b/solr/example/example-DIH/solr/atom/conf/managed-schema @@ -61,31 +61,31 @@ - + - - + - - - - + + + + - - - + + - - - - + + + @@ -95,11 +95,11 @@ --> - - + + - + diff --git a/solr/example/example-DIH/solr/db/conf/managed-schema b/solr/example/example-DIH/solr/db/conf/managed-schema index 7da41de2e2b..79e3dae3a98 100644 --- a/solr/example/example-DIH/solr/db/conf/managed-schema +++ b/solr/example/example-DIH/solr/db/conf/managed-schema @@ -389,7 +389,7 @@ - + @@ -400,19 +400,19 @@ also applies synonyms. --> - - + + - + - - - - + + + + @@ -423,39 +423,39 @@ also applies synonyms from synonyms.txt. --> - + - - - - + + + - + - - - + + - - - + + + - + @@ -470,33 +470,33 @@ --> - + - - - - - - + + + + + - - - + + - - - - + + + + @@ -504,29 +504,29 @@ but may be good for SKUs. Can insert dashes in the wrong place and still match. --> - - - - - - - + + + + + + + - - + + - - - - - - - + + + + + + + - + @@ -534,17 +534,17 @@ each token, to enable more efficient leading wildcard queries. --> - - - - + + + - - - - + + + + @@ -552,8 +552,8 @@ @@ -567,13 +567,13 @@ - + - + - + - @@ -593,14 +593,14 @@ - - + + - + - + - - + + @@ -630,10 +630,10 @@ --> - + - + - + - + @@ -701,124 +701,124 @@ - + - - + + - - + + - - - - + + + + - + - - - - + + + + - + - + - - + + - - + + - - - + + + - - - - + + + + - - - - + + + + - - - - - - - + + + + + + + - + - - - + + + - - - - - + + + + + - - - - + + + + @@ -826,121 +826,121 @@ - - - - - - + + + + + + - - - - - + + + + + - + - - - - - - + + + + + + - + - + - - - - + + + + - - - - - + + + + + - - + + - + - - - + + + - - - - - + + + + + - - - - + + + + - - - + + + - + - + - - - - - + + + + + @@ -979,20 +979,20 @@ See http://wiki.apache.org/solr/JapaneseLanguageSupport for more on Japanese language support. --> - - + + - + - + - + - + - + - + @@ -1017,49 +1017,49 @@ * decompoundMode: Decompound mode. Either 'none', 'discard', 'mixed'. Default is 'discard'. * outputUnknownUnigrams: If true outputs unigrams for unknown words. --> - + - + - - + + - - - - + + + + - - - - - + + + + + - - - - - - + + + + + + @@ -1067,65 +1067,65 @@ - - - - - - - + + + + + + + - - - - + + + + - - - - - + + + + + - - - - - + + + + + - - - + + + - - - - - + + + + + diff --git a/solr/example/example-DIH/solr/mail/conf/managed-schema b/solr/example/example-DIH/solr/mail/conf/managed-schema index 1a371d44664..d4502125187 100644 --- a/solr/example/example-DIH/solr/mail/conf/managed-schema +++ b/solr/example/example-DIH/solr/mail/conf/managed-schema @@ -308,7 +308,7 @@ - + @@ -319,19 +319,19 @@ also applies synonyms. --> - - + + - + - - - - + + + + @@ -342,39 +342,39 @@ also applies synonyms from synonyms.txt. --> - + - - - - + + + - + - - - + + - - - + + + - + @@ -389,33 +389,33 @@ --> - + - - - - - - + + + + + - - - + + - - - - + + + + @@ -423,29 +423,29 @@ but may be good for SKUs. Can insert dashes in the wrong place and still match. --> - - - - - - - + + + + + + + - - + + - - - - - - - + + + + + + + - + @@ -453,17 +453,17 @@ each token, to enable more efficient leading wildcard queries. --> - - - - + + + - - - - + + + + @@ -471,8 +471,8 @@ @@ -486,13 +486,13 @@ - + - + - + - @@ -512,14 +512,14 @@ - - + + - + - + - - + + @@ -549,10 +549,10 @@ --> - + - + - + - + @@ -620,124 +620,124 @@ - + - - + + - - + + - - - - + + + + - + - - - - + + + + - + - + - - + + - - + + - - - + + + - - - - + + + + - - - - + + + + - - - - - - - + + + + + + + - + - - - + + + - - - - - + + + + + - - - - + + + + @@ -745,121 +745,121 @@ - - - - - - + + + + + + - - - - - + + + + + - + - - - - - - + + + + + + - + - + - - - - + + + + - - - - - + + + + + - - + + - + - - - + + + - - - - - + + + + + - - - - + + + + - - - + + + - + - + - - - - - + + + + + @@ -898,20 +898,20 @@ See http://wiki.apache.org/solr/JapaneseLanguageSupport for more on Japanese language support. --> - - + + - + - + - + - + - + - + @@ -936,115 +936,115 @@ * decompoundMode: Decompound mode. Either 'none', 'discard', 'mixed'. Default is 'discard'. * outputUnknownUnigrams: If true outputs unigrams for unknown words. --> - + - + - - + + - - - - + + + + - - - - - + + + + + - - - - - - - + + + + + + + - - - - - - - + + + + + + + - - - - + + + + - - - - - + + + + + - - - - - + + + + + - - - + + + - - - - - + + + + + diff --git a/solr/example/example-DIH/solr/solr/conf/managed-schema b/solr/example/example-DIH/solr/solr/conf/managed-schema index 5c360b9b421..d337bda1225 100644 --- a/solr/example/example-DIH/solr/solr/conf/managed-schema +++ b/solr/example/example-DIH/solr/solr/conf/managed-schema @@ -389,7 +389,7 @@ - + @@ -400,19 +400,19 @@ also applies synonyms. --> - - + + - + - - - - + + + + @@ -423,39 +423,39 @@ also applies synonyms from synonyms.txt. --> - + - - - - + + + - + - - - + + - - - + + + - + @@ -470,33 +470,33 @@ --> - + - - - - - - + + + + + - - - + + - - - - + + + + @@ -504,29 +504,29 @@ but may be good for SKUs. Can insert dashes in the wrong place and still match. --> - - - - - - - + + + + + + + - - + + - - - - - - - + + + + + + + - + @@ -534,17 +534,17 @@ each token, to enable more efficient leading wildcard queries. --> - - - - + + + - - - - + + + + @@ -552,8 +552,8 @@ @@ -567,13 +567,13 @@ - + - + - + - @@ -593,14 +593,14 @@ - - + + - + - + - - + + @@ -630,10 +630,10 @@ --> - + - + - + - + @@ -701,124 +701,124 @@ - + - - + + - - + + - - - - + + + + - + - - - - + + + + - + - + - - + + - - + + - - - + + + - - - - + + + + - - - - + + + + - - - - - - - + + + + + + + - + - - - + + + - - - - - + + + + + - - - - + + + + @@ -826,121 +826,121 @@ - - - - - - + + + + + + - - - - - + + + + + - + - - - - - - + + + + + + - + - + - - - - + + + + - - - - - + + + + + - - + + - + - - - + + + - - - - - + + + + + - - - - + + + + - - - + + + - + - + - - - - - + + + + + @@ -979,20 +979,20 @@ See http://wiki.apache.org/solr/JapaneseLanguageSupport for more on Japanese language support. --> - - + + - + - + - + - + - + - + @@ -1017,49 +1017,49 @@ * decompoundMode: Decompound mode. Either 'none', 'discard', 'mixed'. Default is 'discard'. * outputUnknownUnigrams: If true outputs unigrams for unknown words. --> - + - + - - + + - - - - + + + + - - - - - + + + + + - - - - - - + + + + + + @@ -1067,65 +1067,65 @@ - - - - - - - + + + + + + + - - - - + + + + - - - - - + + + + + - - - - - + + + + + - - - + + + - - - - - + + + + + diff --git a/solr/example/example-DIH/solr/tika/conf/managed-schema b/solr/example/example-DIH/solr/tika/conf/managed-schema index b90f314ffde..196cdb3632a 100644 --- a/solr/example/example-DIH/solr/tika/conf/managed-schema +++ b/solr/example/example-DIH/solr/tika/conf/managed-schema @@ -46,8 +46,8 @@ --> - - + + diff --git a/solr/example/files/conf/managed-schema b/solr/example/files/conf/managed-schema index c022331ba80..5ad98831f43 100644 --- a/solr/example/files/conf/managed-schema +++ b/solr/example/files/conf/managed-schema @@ -4,10 +4,10 @@ id - + - + @@ -16,10 +16,10 @@ - + - + @@ -27,14 +27,14 @@ - - + + - - + + @@ -53,386 +53,386 @@ - - - - - + + + + + - - - - + + + + - - - - - + + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - - + + + + + - - - - + + + + - - - - - - + + + + + + - - - - - - - + + + + + + + - - - - - - - + + + + + + + - - - - - - - + + + + + + + - - - - - - - - - + + + + + + + + + - - - - - - - - + + + + + + + + - - - - + + + + - - - - + + + + - - - - - - + + + + + + - - - - + + + + - - - - - + + + + + - - - - - - + + + + + + - - - + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - - - + + + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - - + + + + + - - - - - - - + + + + + + + - - - - + + + + - - - - + + + + - - - - - + + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - + + + - - - - + + + + - + - - + + - - - - - - + + + + + - - + + - + - - + + diff --git a/solr/server/solr/configsets/_default/conf/managed-schema b/solr/server/solr/configsets/_default/conf/managed-schema index d832ed12c02..eded1fa48f0 100644 --- a/solr/server/solr/configsets/_default/conf/managed-schema +++ b/solr/server/solr/configsets/_default/conf/managed-schema @@ -275,7 +275,7 @@ - + @@ -287,19 +287,19 @@ --> - - + + - + - - - - + + + + @@ -316,15 +316,15 @@ - - - + + + - - - - + + + + @@ -334,39 +334,39 @@ - + - - - - + + + - + - - - + + - - - + + + - + @@ -382,33 +382,33 @@ - + - - - - - - + + + + + - - - + + - - - - + + + + @@ -417,29 +417,29 @@ - - - - - - - + + + + + + + - - + + - - - - - - - + + + + + + + - + @@ -449,25 +449,25 @@ - - - - + + + - - - - + + + + - - + + @@ -475,8 +475,8 @@ - - + + @@ -487,10 +487,10 @@ - + - + @@ -501,10 +501,10 @@ - + - + @@ -535,20 +535,20 @@ - - + + - - + + - - + + @@ -558,13 +558,13 @@ - + - - + + - - + + @@ -572,10 +572,10 @@ - - - - + + + + @@ -583,12 +583,12 @@ - + - - - - + + + + @@ -596,12 +596,12 @@ - + - + - - + + @@ -609,10 +609,10 @@ - - - - + + + + @@ -620,10 +620,10 @@ - - - - + + + + @@ -631,13 +631,13 @@ - - - - - - - + + + + + + + @@ -645,11 +645,11 @@ - + - - - + + + @@ -657,11 +657,11 @@ - - - - - + + + + + @@ -669,10 +669,10 @@ - - - - + + + + @@ -680,10 +680,10 @@ - - - - + + + + @@ -692,12 +692,12 @@ - - - - - - + + + + + + @@ -705,11 +705,11 @@ - - - - - + + + + + @@ -717,14 +717,14 @@ - + - - - - - - + + + + + + @@ -732,14 +732,14 @@ - + - + - - - - + + + + @@ -747,11 +747,11 @@ - - - - - + + + + + @@ -759,14 +759,14 @@ - - + + - + - - - + + + @@ -774,11 +774,11 @@ - - - - - + + + + + @@ -786,10 +786,10 @@ - - - - + + + + @@ -797,11 +797,11 @@ - - - + + + - + @@ -809,13 +809,13 @@ - + - - - - - + + + + + @@ -853,20 +853,20 @@ Punctuation characters are discarded by default. Use discardPunctuation="false" to keep them. --> - - + + - + - + - + - + - + - + @@ -891,16 +891,16 @@ * decompoundMode: Decompound mode. Either 'none', 'discard', 'mixed'. Default is 'discard'. * outputUnknownUnigrams: If true outputs unigrams for unknown words. --> - + - + - - + + @@ -908,10 +908,10 @@ - - - - + + + + @@ -919,11 +919,11 @@ - - - - - + + + + + @@ -931,12 +931,12 @@ - - - - - - + + + + + + @@ -944,13 +944,13 @@ - - - - - - - + + + + + + + @@ -958,10 +958,10 @@ - - - - + + + + @@ -969,11 +969,11 @@ - - - - - + + + + + @@ -981,11 +981,11 @@ - - - - - + + + + + @@ -993,9 +993,9 @@ - - - + + + @@ -1003,10 +1003,10 @@ - - - - + + + + diff --git a/solr/server/solr/configsets/sample_techproducts_configs/conf/managed-schema b/solr/server/solr/configsets/sample_techproducts_configs/conf/managed-schema index 69cf16d1789..9ddbf3879f9 100644 --- a/solr/server/solr/configsets/sample_techproducts_configs/conf/managed-schema +++ b/solr/server/solr/configsets/sample_techproducts_configs/conf/managed-schema @@ -382,22 +382,22 @@ - + - - - - + + + + - - - + + + @@ -408,19 +408,19 @@ also applies synonyms. --> - - + + - + - - - - + + + + @@ -434,15 +434,15 @@ --> - - - + + + - - - - + + + + @@ -453,39 +453,39 @@ also applies synonyms from synonyms.txt. --> - + - - - - - - + + + + + - - - + + - - - - - + + + + + @@ -500,33 +500,33 @@ --> - + - - - - - - + + + + + - - - + + - - - - + + + + @@ -534,29 +534,29 @@ but may be good for SKUs. Can insert dashes in the wrong place and still match. --> - - - - - - - + + + + + + + - - + + - - - - - - - + + + + + + + - + @@ -564,17 +564,17 @@ each token, to enable more efficient leading wildcard queries. --> - - - - + + + - - - - + + + + @@ -582,8 +582,8 @@ @@ -597,13 +597,13 @@ - + - + - + - @@ -623,14 +623,14 @@ - - + + - + - + - - + + @@ -660,10 +660,10 @@ --> - + - + - + - + @@ -737,134 +737,134 @@ - + - - + + - - + + - - - - + + + + - + - - - - + + + + - + - + - - + + - - + + - - - + + + - - - - + + + + - - - - + + + + - - - - - - - + + + + + + + - + - - - + + + - - - - - + + + + + - - - - + + + + - - - - + + + + @@ -872,121 +872,121 @@ - - - - - - + + + + + + - - - - - + + + + + - + - - - - - - + + + + + + - + - + - - - - + + + + - - - - - + + + + + - - + + - + - - - + + + - - - - - + + + + + - - - - + + + + - - - + + + - + - + - - - - - + + + + + @@ -1025,20 +1025,20 @@ See http://wiki.apache.org/solr/JapaneseLanguageSupport for more on Japanese language support. --> - - + + - + - + - + - + - + - + @@ -1063,49 +1063,49 @@ * decompoundMode: Decompound mode. Either 'none', 'discard', 'mixed'. Default is 'discard'. * outputUnknownUnigrams: If true outputs unigrams for unknown words. --> - + - + - - + + - - - - + + + + - - - - - + + + + + - - - - - - + + + + + + @@ -1113,65 +1113,65 @@ - - - - - - - + + + + + + + - - - - + + + + - - - - - + + + + + - - - - - + + + + + - - - + + + - - - - - + + + + + @@ -1179,7 +1179,7 @@ - +