Sitecore 7 + Solr 4.8.*
The normal process when starting to use Solr + Sitecore is to take the example
schema.xml (that comes with the Solr distribution) and use the schema generator (in the Sitecore control panel) to modify it.
In Solr 4.8.* the xml structure of the
schema.xml file has changed slightly and this causes problems when we parse it.
- When Sitecore loads
- When we use Sitecore's schema generator
Previously fields and types were nested in a :
<fields> <field /> </fields> <types> <fieldType /> </type>
..structure. This has now changed to a flat structure:
<field /> <type />
.. without the parent elements. This breaks the parsing of the file.
The good thing is that those parent nodes can be added back in without any problem.
<fields>before the first
</fields>after the last
<types>before the first
</types>after the last
This issue should be fixed in a later version of Sitecore as this problem with parsing will be corrected.