That was the error that I got when starting tomcat6 with solr 4.5 using solrconfig.xml provided by search_api_solr.

solrconfig.xml contains more than one value for config path: indexConfig/useCompoundFile

Seems like 3 config paths are duplicated:

    <useCompoundFile>false</useCompoundFile>
    <ramBufferSizeMB>32</ramBufferSizeMB>
    <mergeFactor>10</mergeFactor>

Deleting lines 207 to 209 solved the issue. The only different line is 139 which has 4. So I changed that. After that I could start solr on tomcat.

CommentFileSizeAuthor
#2 2122391-2.patch489 bytesStephenBrown
search_api_4.5.patch808 bytesjackbravo

Comments

drunken monkey’s picture

drunken monkey’s picture

Issue summary: View changes

check using to show some special xml tags.

StephenBrown’s picture

Issue summary: View changes
StatusFileSize
new489 bytes

Regarding this comment: https://drupal.org/comment/8001885#comment-8001885

the value should be 4, not 10. 10 is way too much for Drupal sites and the way they behave (more reads versus writes)

Details on the why is available here : http://nickveenhof.be/blog/upgrading-apache-solr-14-35-and-its-implications

I've modified the patch such that it only removes the duplicate lines, not changing the first mergeFactor value to 10.