diff --git a/images/solr-drupal/8.Dockerfile b/images/solr-drupal/8.Dockerfile index f2c5c8e1c..6fed206f5 100644 --- a/images/solr-drupal/8.Dockerfile +++ b/images/solr-drupal/8.Dockerfile @@ -1,9 +1,15 @@ +ARG IMAGE_REPO +FROM ${IMAGE_REPO:-lagoon}/commons as jumpstart + +ADD https://git.drupalcode.org/project/search_api_solr.git#4.3.3 /search_api_solr + ARG IMAGE_REPO FROM ${IMAGE_REPO:-lagoon}/solr-8 LABEL org.opencontainers.image.authors="The Lagoon Authors" maintainer="The Lagoon Authors" LABEL org.opencontainers.image.source="https://github.com/uselagoon/lagoon-images" repository="https://github.com/uselagoon/lagoon-images" -COPY drupal-4.1.1-solr-8.x-0 /solr-conf +COPY --from=jumpstart /search_api_solr/jump-start/solr8/config-set /solr-conf/conf +ENV SOLR_INSTALL_DIR=/opt/solr -CMD ["solr-precreate", "drupal", "/solr-conf"] +CMD ["solr-precreate", "drupal", "/solr-conf"] \ No newline at end of file diff --git a/images/solr-drupal/9.Dockerfile b/images/solr-drupal/9.Dockerfile index 4edab6228..45303dffe 100644 --- a/images/solr-drupal/9.Dockerfile +++ b/images/solr-drupal/9.Dockerfile @@ -1,7 +1,7 @@ ARG IMAGE_REPO FROM ${IMAGE_REPO:-lagoon}/commons as jumpstart -ADD https://git.drupalcode.org/project/search_api_solr.git#4.3.2 /search_api_solr +ADD https://git.drupalcode.org/project/search_api_solr.git#4.3.3 /search_api_solr ARG IMAGE_REPO FROM ${IMAGE_REPO:-lagoon}/solr-9 diff --git a/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/accents_en.txt b/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/accents_en.txt deleted file mode 100644 index bed051477..000000000 --- a/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/accents_en.txt +++ /dev/null @@ -1,164 +0,0 @@ -# À => A -"\u00C0" => "A" -# Á => A -"\u00C1" => "A" -#  => A -"\u00C2" => "A" -# à => A -"\u00C3" => "A" -# Ä => A -"\u00C4" => "A" -# Å => A -"\u00C5" => "A" -# Ą => A -"\u0104" => "A" -# Æ => AE -"\u00C6" => "AE" -# Ç => C -"\u00C7" => "C" -# Ć => C -"\U0106" => "C" -# È => E -"\u00C8" => "E" -# É => E -"\u00C9" => "E" -# Ê => E -"\u00CA" => "E" -# Ë => E -"\u00CB" => "E" -# Ę => E -"\u0118" => "E" -# Ì => I -"\u00CC" => "I" -# Í => I -"\u00CD" => "I" -# Î => I -"\u00CE" => "I" -# Ï => I -"\u00CF" => "I" -# IJ => IJ -"\u0132" => "IJ" -# Ð => D -"\u00D0" => "D" -# Ł => L -"\u0141" => "L" -# Ñ => N -"\u00D1" => "N" -# Ń => N -"\u0143" => "N" -# Ò => O -"\u00D2" => "O" -# Ó => O -"\u00D3" => "O" -# Ô => O -"\u00D4" => "O" -# Õ => O -"\u00D5" => "O" -# Ö => O -"\u00D6" => "O" -# Ø => O -"\u00D8" => "O" -# Œ => OE -"\u0152" => "OE" -# Þ -"\u00DE" => "TH" -# Ù => U -"\u00D9" => "U" -# Ú => U -"\u00DA" => "U" -# Û => U -"\u00DB" => "U" -# Ü => U -"\u00DC" => "U" -# Ý => Y -"\u00DD" => "Y" -# Ÿ => Y -"\u0178" => "Y" -# à => a -"\u00E0" => "a" -# á => a -"\u00E1" => "a" -# â => a -"\u00E2" => "a" -# ã => a -"\u00E3" => "a" -# ä => a -"\u00E4" => "a" -# å => a -"\u00E5" => "a" -# æ => ae -"\u00E6" => "ae" -# ç => c -"\u00E7" => "c" -# è => e -"\u00E8" => "e" -# é => e -"\u00E9" => "e" -# ê => e -"\u00EA" => "e" -# ë => e -"\u00EB" => "e" -# ì => i -"\u00EC" => "i" -# í => i -"\u00ED" => "i" -# î => i -"\u00EE" => "i" -# ï => i -"\u00EF" => "i" -# ij => ij -"\u0133" => "ij" -# ð => d -"\u00F0" => "d" -# ñ => n -"\u00F1" => "n" -# ò => o -"\u00F2" => "o" -# ó => o -"\u00F3" => "o" -# ô => o -"\u00F4" => "o" -# õ => o -"\u00F5" => "o" -# ö => o -"\u00F6" => "o" -# ø => o -"\u00F8" => "o" -# œ => oe -"\u0153" => "oe" -# ß => ss -"\u00DF" => "ss" -# Ś => S -"\u015a" => "S" -# þ => th -"\u00FE" => "th" -# ù => u -"\u00F9" => "u" -# ú => u -"\u00FA" => "u" -# û => u -"\u00FB" => "u" -# ü => u -"\u00FC" => "u" -# ý => y -"\u00FD" => "y" -# ÿ => y -"\u00FF" => "y" -# Ź => Z -"\u0179" => "Z" -# Ż => Z -"\u017b" => "Z" -# ff => ff -"\uFB00" => "ff" -# fi => fi -"\uFB01" => "fi" -# fl => fl -"\uFB02" => "fl" -# ffi => ffi -"\uFB03" => "ffi" -# ffl => ffl -"\uFB04" => "ffl" -# ſt => st -"\uFB05" => "st" -# st => st -"\uFB06" => "st" diff --git a/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/accents_und.txt b/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/accents_und.txt deleted file mode 100644 index 7c883f87a..000000000 --- a/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/accents_und.txt +++ /dev/null @@ -1,148 +0,0 @@ -# À => A -"\u00C0" => "A" -# Á => A -"\u00C1" => "A" -#  => A -"\u00C2" => "A" -# à => A -"\u00C3" => "A" -# Ä => A -"\u00C4" => "A" -# Å => A -"\u00C5" => "A" -# Æ => AE -"\u00C6" => "AE" -# Ç => C -"\u00C7" => "C" -# È => E -"\u00C8" => "E" -# É => E -"\u00C9" => "E" -# Ê => E -"\u00CA" => "E" -# Ë => E -"\u00CB" => "E" -# Ì => I -"\u00CC" => "I" -# Í => I -"\u00CD" => "I" -# Î => I -"\u00CE" => "I" -# Ï => I -"\u00CF" => "I" -# IJ => IJ -"\u0132" => "IJ" -# Ð => D -"\u00D0" => "D" -# Ñ => N -"\u00D1" => "N" -# Ò => O -"\u00D2" => "O" -# Ó => O -"\u00D3" => "O" -# Ô => O -"\u00D4" => "O" -# Õ => O -"\u00D5" => "O" -# Ö => O -"\u00D6" => "O" -# Ø => O -"\u00D8" => "O" -# Œ => OE -"\u0152" => "OE" -# Þ -"\u00DE" => "TH" -# Ù => U -"\u00D9" => "U" -# Ú => U -"\u00DA" => "U" -# Û => U -"\u00DB" => "U" -# Ü => U -"\u00DC" => "U" -# Ý => Y -"\u00DD" => "Y" -# Ÿ => Y -"\u0178" => "Y" -# à => a -"\u00E0" => "a" -# á => a -"\u00E1" => "a" -# â => a -"\u00E2" => "a" -# ã => a -"\u00E3" => "a" -# ä => a -"\u00E4" => "a" -# å => a -"\u00E5" => "a" -# æ => ae -"\u00E6" => "ae" -# ç => c -"\u00E7" => "c" -# è => e -"\u00E8" => "e" -# é => e -"\u00E9" => "e" -# ê => e -"\u00EA" => "e" -# ë => e -"\u00EB" => "e" -# ì => i -"\u00EC" => "i" -# í => i -"\u00ED" => "i" -# î => i -"\u00EE" => "i" -# ï => i -"\u00EF" => "i" -# ij => ij -"\u0133" => "ij" -# ð => d -"\u00F0" => "d" -# ñ => n -"\u00F1" => "n" -# ò => o -"\u00F2" => "o" -# ó => o -"\u00F3" => "o" -# ô => o -"\u00F4" => "o" -# õ => o -"\u00F5" => "o" -# ö => o -"\u00F6" => "o" -# ø => o -"\u00F8" => "o" -# œ => oe -"\u0153" => "oe" -# ß => ss -"\u00DF" => "ss" -# þ => th -"\u00FE" => "th" -# ù => u -"\u00F9" => "u" -# ú => u -"\u00FA" => "u" -# û => u -"\u00FB" => "u" -# ü => u -"\u00FC" => "u" -# ý => y -"\u00FD" => "y" -# ÿ => y -"\u00FF" => "y" -# ff => ff -"\uFB00" => "ff" -# fi => fi -"\uFB01" => "fi" -# fl => fl -"\uFB02" => "fl" -# ffi => ffi -"\uFB03" => "ffi" -# ffl => ffl -"\uFB04" => "ffl" -# ſt => st -"\uFB05" => "st" -# st => st -"\uFB06" => "st" diff --git a/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/elevate.xml b/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/elevate.xml deleted file mode 100644 index 193a0e727..000000000 --- a/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/elevate.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - diff --git a/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/protwords_en.txt b/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/protwords_en.txt deleted file mode 100644 index e69de29bb..000000000 diff --git a/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/protwords_und.txt b/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/protwords_und.txt deleted file mode 100644 index e69de29bb..000000000 diff --git a/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/schema.xml b/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/schema.xml deleted file mode 100644 index 185d88b76..000000000 --- a/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/schema.xml +++ /dev/null @@ -1,478 +0,0 @@ - - - - -]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - &extrafields; - - - &extratypes; - - - id - - - - - diff --git a/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/schema_extra_fields.xml b/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/schema_extra_fields.xml deleted file mode 100644 index f5d74188a..000000000 --- a/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/schema_extra_fields.xml +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/schema_extra_types.xml b/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/schema_extra_types.xml deleted file mode 100644 index 8b5e82f03..000000000 --- a/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/schema_extra_types.xml +++ /dev/null @@ -1,228 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/solrconfig.xml b/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/solrconfig.xml deleted file mode 100644 index bf8cc7497..000000000 --- a/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/solrconfig.xml +++ /dev/null @@ -1,811 +0,0 @@ - - - - - - -]> - - - - - - - ${solr.abortOnConfigurationError:true} - - - ${solr.luceneMatchVersion:LUCENE_80} - - - - - - - - - - - - - - - - - - - - - /var/solr/${solr.core.name} - - - - - - - - - ${solr.hdfs.home:} - - ${solr.hdfs.confdir:} - - ${solr.hdfs.blockcache.enabled:true} - - ${solr.hdfs.blockcache.global:true} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ${solr.lock.type:none} - - - - - - - - - - - - - true - - - &index; - - - - - - - - - ${solr.ulog.dir:} - - - - - ${solr.autoCommit.MaxDocs:-1} - ${solr.autoCommit.MaxTime:15000} - false - - - - - - ${solr.autoSoftCommit.MaxDocs:-1} - ${solr.autoSoftCommit.MaxTime:-1} - - - - - - - - - - - - - - - - &query; - - - - - - - - - - - - static firstSearcher warming in solrconfig.xml - - - - - - false - - - - - - - - - &requestdispatcher; - - - - - - - &extra; - - - - - - - - - 100 - - - - - - - - 70 - - 0.5 - - [-\w ,/\n\"']{20,200} - - - - - - - ]]> - ]]> - - - - - - - - - - - - - - - - - - - - - - - - ,, - ,, - ,, - ,, - ,]]> - ]]> - - - - - - 10 - .,!? - - - - - - - WORD - - - en - US - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - - diff --git a/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/solrconfig_extra.xml b/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/solrconfig_extra.xml deleted file mode 100644 index 1a59c4593..000000000 --- a/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/solrconfig_extra.xml +++ /dev/null @@ -1,188 +0,0 @@ - - - en - spellcheck_en - solr.DirectSolrSpellChecker - internal - 0.5 - 2 - 1 - 5 - 4 - 0.01 - .01 - true - - - - und - spellcheck_und - solr.DirectSolrSpellChecker - internal - 0.5 - 2 - 1 - 5 - 4 - 0.01 - .01 - true - - - - - en - AnalyzingInfixLookupFactory - DocumentDictionaryFactory - twm_suggest - text_en - sm_context_tags - true - false - - - - und - AnalyzingInfixLookupFactory - DocumentDictionaryFactory - twm_suggest - text_und - sm_context_tags - true - false - - - - - - false - false - false - true - false - 1 - false - 10 - - - terms - spellcheck - suggest - - - - - - - true - ignored_ - true - links - ignored_ - - - - - - - 1 - 1 - false - ${solr.mlt.timeAllowed:2000} - - - - - - - lucene - id - explicit - true - ${solr.selectSearchHandler.timeAllowed:-1} - false - - - spellcheck - elevator - - - - - - - id - und - on - false - false - 1 - 5 - 5 - true - true - 10 - 5 - - - spellcheck - - - - - - - true - und - 10 - - - suggest - - - - - - - id - true - - - tvComponent - - - - - - string - elevate.xml - - - diff --git a/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/solrconfig_index.xml b/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/solrconfig_index.xml deleted file mode 100644 index e69de29bb..000000000 diff --git a/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/solrconfig_query.xml b/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/solrconfig_query.xml deleted file mode 100644 index 5bdd69690..000000000 --- a/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/solrconfig_query.xml +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - - - - - - true - - false - - 20 - 200 - 1024 diff --git a/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/solrconfig_requestdispatcher.xml b/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/solrconfig_requestdispatcher.xml deleted file mode 100644 index 3a3f17d1c..000000000 --- a/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/solrconfig_requestdispatcher.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - diff --git a/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/solrcore.properties b/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/solrcore.properties deleted file mode 100644 index 698ab19ae..000000000 --- a/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/solrcore.properties +++ /dev/null @@ -1,13 +0,0 @@ -solr.replication.master=false -solr.replication.slave=false -solr.replication.pollInterval=00:00:60 -solr.replication.masterUrl=http://solr:8983/solr -solr.replication.confFiles=schema.xml,schema_extra_types.xml,schema_extra_fields.xml,elevate.xml,stopwords_en.txt,synonyms_en.txt,protwords_en.txt,accents_en.txt,stopwords_und.txt,synonyms_und.txt,protwords_und.txt,accents_und.txt -solr.mlt.timeAllowed=2000 -solr.selectSearchHandler.timeAllowed=-1 -solr.autoCommit.MaxDocs=-1 -solr.autoCommit.MaxTime=15000 -solr.autoSoftCommit.MaxDocs=-1 -solr.autoSoftCommit.MaxTime=-1 -solr.install.dir=/opt/solr -solr.luceneMatchVersion=8.7 diff --git a/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/stopwords_en.txt b/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/stopwords_en.txt deleted file mode 100644 index 698105071..000000000 --- a/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/stopwords_en.txt +++ /dev/null @@ -1,35 +0,0 @@ -a -an -and -are -as -at -be -but -by -for -if -in -into -is -it -no -not -of -on -or -s -such -t -that -the -their -then -there -these -they -this -to -was -will -with diff --git a/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/stopwords_und.txt b/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/stopwords_und.txt deleted file mode 100644 index e69de29bb..000000000 diff --git a/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/synonyms_en.txt b/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/synonyms_en.txt deleted file mode 100644 index 91689ff92..000000000 --- a/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/synonyms_en.txt +++ /dev/null @@ -1 +0,0 @@ -drupal, durpal diff --git a/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/synonyms_und.txt b/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/synonyms_und.txt deleted file mode 100644 index 91689ff92..000000000 --- a/images/solr-drupal/drupal-4.1.1-solr-8.x-0/conf/synonyms_und.txt +++ /dev/null @@ -1 +0,0 @@ -drupal, durpal