After installing and starting Java 8u11 and Solr 4.9 I found out the schema.xml and solrconfig.xml must be changed (at least in my multicore setup).
solrconfig.xml:
I got this error message:
Caused by: org.apache.solr.common.SolrException: solrconfig.xml contains more than one value for config path: indexConfig/useCompoundFile at org.apache.solr.core.Config.getNode(Config.java:251)

After removing <useCompoundFile>false</useCompoundFile> in <indexConfig>
I got the same error messages about:
<mergeFactor>4</mergeFactor> and <ramBufferSizeMB>32</ramBufferSizeMB>

After removing both these parameters I got warnings in:

schema.xml:
2756 [coreLoadExecutor-5-thread-1] WARN org.apache.solr.core.SolrResourceLoader ? Solr loaded a deprecated plugin/analysis class [solr.FloatField]. Please consult documentation how to replace it accordingly.
2768 [coreLoadExecutor-5-thread-1] WARN org.apache.solr.core.SolrResourceLoader ? Solr loaded a deprecated plugin/analysis class [solr.DateField]. Please consult documentation how to replace it accordingly.

So I changed:

<fieldType name="pfloat" class="solr.FloatField" omitNorms="true"/>
into
<fieldType name="pfloat" class="solr.TrieFloatField" omitNorms="true"/>
and <fieldType name="date" class="solr.DateField" sortMissingLast="true" omitNorms="true"/>
into:
<fieldType name="date" class="solr.TrieDateField" sortMissingLast="true" omitNorms="true"/>

After these changes Solr came up and running.

I don't know enough about the configuration of solr. Maybe my changes are not correct / optimal.

Comments

amontero’s picture

amontero’s picture

amontero’s picture

Component: Code » solrconfig.xml
Issue tags: +solrconfig.xml
Parent issue: » #2428093: Update provided Solr 4.x solrconfig.xml

You might be interested in watching #2428093: Update provided Solr 4.x solrconfig.xml (linked as parent)

Nick_vh’s picture

Thanks, this thread was also useful for support solr 5.0

https://www.drupal.org/node/2453855#comment-9738451