This question about Using an extension: Answered
Hi - I'm getting this error from Solr
sudo ./solrindex topic=Main.WebHome
ERROR: 500 Server Error: {
"error":{
"metadata":[
"error-class","org.apache.solr.core.SolrCoreInitializationException",
"root-error-class","org.apache.solr.common.SolrException"],
"msg":"SolrCore 'foswiki' is not available due to init failure: Could not load conf for core foswiki: Can't load schema /var/solr/data/configsets/foswiki_configs/conf/schema.xml: Setting defaultSearchField in schema not supported since Solr 7",
searching on the error message brings me to this link
https://lucene.apache.org/solr/guide/7_0/major-changes-in-solr-7.html
which has:
The
defaultSearchField
parameter in the schema is no longer supported. Use the
df
parameter instead. This option had been deprecated for several releases. See the section
Standard Query Parser Parameters for more information.
What should I try next?
--
JaredDavis - 27 Jan 2020
Try to install the latest solr-5. 6 and 7 are not yet supported officially.
--
MichaelDaum - 27 Jan 2020