You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bin/generate-solr-config.sh
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -121,6 +121,10 @@ fi
121
121
# Adapt autoSoftCommit to have a recommended value, and remove add-unknown-fields-to-the-schema
122
122
sed -i.bak '/<updateRequestProcessorChain name="add-unknown-fields-to-the-schema".*/,/<\/updateRequestProcessorChain>/d'$DESTINATION_DIR/solrconfig.xml
123
123
sed -i.bak 's/${solr.autoSoftCommit.maxTime:-1}/${solr.autoSoftCommit.maxTime:20}/'$DESTINATION_DIR/solrconfig.xml
124
+
# Configure spellcheck component
125
+
sed -i.bar 's/<str name="field">_text_<\/str>/<str name="field">meta_content__text_t<\/str>/'$DESTINATION_DIR/solrconfig.xml
0 commit comments