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
 

QuestionForm edit

Subject Using an extension
Extension SolrPlugin
Version Foswiki 2.1.6
Status Answered
Related Topics
Topic revision: r2 - 27 Jan 2020, MichaelDaum
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy