From 4d0709f6ff84583abbc3fcdce69d4f85327860f5 Mon Sep 17 00:00:00 2001 From: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com> Date: Thu, 5 Sep 2024 13:28:25 +0200 Subject: [PATCH] =?UTF-8?q?init=5Fsolr.sh:=20.bar=20=E2=86=92=20.bak?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Consistency w/ generate-solr-config.sh --- .github/init_solr.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/init_solr.sh b/.github/init_solr.sh index e5322392..0ae3319e 100755 --- a/.github/init_solr.sh +++ b/.github/init_solr.sh @@ -234,7 +234,7 @@ solr_cloud_configure_collection() { # Adapt autoSoftCommit to have a recommended value sed -i.bak 's/${solr.autoSoftCommit.maxTime:-1}/${solr.autoSoftCommit.maxTime:20}/' "${TEMPLATE_DIR}/solrconfig.xml" || exit_on_error "Can't modify file '${TEMPLATE_DIR}/solrconfig.xml'" # Configure spellcheck component - sed -i.bar 's/_text_<\/str>/meta_content__text_t<\/str>/' "${TEMPLATE_DIR}/solrconfig.xml" + sed -i.bak 's/_text_<\/str>/meta_content__text_t<\/str>/' "${TEMPLATE_DIR}/solrconfig.xml" # Add spellcheck component to /select handler sed -i.bak 's//\n \n spellcheck<\/str>\n <\/arr>/' "${TEMPLATE_DIR}/solrconfig.xml" }