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.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 2122391-2.patch | 489 bytes | StephenBrown |
| search_api_4.5.patch | 808 bytes | jackbravo |
Comments
Comment #1
drunken monkeySee #2107417: Multiple values in solrconfig.xml cause error with solr 4.5+.
Comment #1.0
drunken monkeycheck using
to show some special xml tags.Comment #2
StephenBrown commentedRegarding this comment: https://drupal.org/comment/8001885#comment-8001885
I've modified the patch such that it only removes the duplicate lines, not changing the first mergeFactor value to 10.