Skip to content

Commit

Permalink
fixup! EZP-30463: As an Developer, I want to use Solr Cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwojs committed May 28, 2019
1 parent a71f701 commit 260c729
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/.travis/init_solr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,8 @@ solr_cloud_configure_collection() {

# modify solrconfig.xml to remove section that doesn't agree with our schema
sed -i.bak '/<updateRequestProcessorChain name="add-unknown-fields-to-the-schema">/,/<\/updateRequestProcessorChain>/d' "${TEMPLATE_DIR}/solrconfig.xml" || exit_on_error "Can't modify file '${TEMPLATE_DIR}/solrconfig.xml'"
# Adapt autoSoftCommit to have a recommended value
sed -i.bak2 's/${solr.autoSoftCommit.maxTime:-1}/${solr.autoSoftCommit.maxTime:20}/' "${TEMPLATE_DIR}/solrconfig.xml" || exit_on_error "Can't modify file '${TEMPLATE_DIR}/solrconfig.xml'"
}

solr_cloud_upload_collection_configuration() {
Expand Down

0 comments on commit 260c729

Please sign in to comment.