From 66a5a23c4065f530d9cc19ab490acbe32558d2d2 Mon Sep 17 00:00:00 2001 From: Brendan Early Date: May 18 2021 18:43:02 +0000 Subject: fix no results found message not appearing --- diff --git a/solr/README b/solr/README index 7e95db8..80db335 100644 --- a/solr/README +++ b/solr/README @@ -1 +1 @@ -These files should be updated in https://pagure.io/fedora-infra/ansible at roles/openshift-apps/solr/templates/packages \ No newline at end of file +These files should be updated in https://pagure.io/fedora-infra/ansible at roles/openshift-apps/fedora-packages-static/templates/packages diff --git a/solr/conf/solrconfig.xml b/solr/conf/solrconfig.xml new file mode 100644 index 0000000..0fc3f8b --- /dev/null +++ b/solr/conf/solrconfig.xml @@ -0,0 +1,1121 @@ + + + + + + + + + 8.6.3 + + + + + + + + + + + ${solr.data.dir:} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ${solr.lock.type:native} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ${solr.ulog.dir:} + ${solr.ulog.numVersionBuckets:65536} + + + + + ${solr.autoCommit.maxTime:15000} + false + + + + + + ${solr.autoSoftCommit.maxTime:-1} + + + + + + + + + + + + + + ${solr.max.booleanClauses:1024} + + + + + + + + + + + + + + + + + + + + + + + + true + + + + + + 20 + + + 200 + + + + + + + + + + + false + + + + + + + + + + + + + + + + + + + + + + explicit + 10 + true + default + true + + + + + + + + + + + + spellcheck + + + + + + + + + name + + + + + + + + + nameText + + + + + + default + name + solr.DirectSolrSpellChecker + + internal + + 0.5 + + 2 + + 1 + + 5 + + 4 + + 0.01 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/solr/solrconfig.xml b/solr/solrconfig.xml deleted file mode 100644 index 0fc3f8b..0000000 --- a/solr/solrconfig.xml +++ /dev/null @@ -1,1121 +0,0 @@ - - - - - - - - - 8.6.3 - - - - - - - - - - - ${solr.data.dir:} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ${solr.lock.type:native} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ${solr.ulog.dir:} - ${solr.ulog.numVersionBuckets:65536} - - - - - ${solr.autoCommit.maxTime:15000} - false - - - - - - ${solr.autoSoftCommit.maxTime:-1} - - - - - - - - - - - - - - ${solr.max.booleanClauses:1024} - - - - - - - - - - - - - - - - - - - - - - - - true - - - - - - 20 - - - 200 - - - - - - - - - - - false - - - - - - - - - - - - - - - - - - - - - - explicit - 10 - true - default - true - - - - - - - - - - - - spellcheck - - - - - - - - - name - - - - - - - - - nameText - - - - - - default - name - solr.DirectSolrSpellChecker - - internal - - 0.5 - - 2 - - 1 - - 5 - - 4 - - 0.01 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/templates/search-results.html.j2 b/templates/search-results.html.j2 index 04ae37e..068595f 100644 --- a/templates/search-results.html.j2 +++ b/templates/search-results.html.j2 @@ -54,7 +54,7 @@ {{results.spellcheck.collations[1]}}?

- {% elif results.response.numfound == 0 %} + {% elif results.response.numFound == 0 %}

No results found!