Update to support Solr 8.x (MGNLEESOLR-165)

[MGNLEESOLR-170] Documentation Created: 23/May/22  Updated: 24/May/22  Resolved: 24/May/22

Status: Completed
Project: Solr Search Provider
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Sub-task Priority: Neutral
Reporter: Milan Divilek Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: HTML File managed-schema     XML File solrconfig.xml    
Template:
Sprint: DevX 10
Team: DeveloperX

 Comments   
Comment by Milan Divilek [ 24/May/22 ]

Since the docu release/6.2.20-dev doesnt exist yet, the following is a draft of the docu change for Solr module v 6.1:
Under
https://docs.magnolia-cms.com/product-docs/6.2/Modules/List-of-modules/Solr-module/Installing-Apache-Solr.html#_creating_a_configuration_set
update the section to this:

== Creating a configuration set

Create a new Magnolia config set by duplicating the
`$SOLR_HOME/server/solr/configsets/_default` folder and name it to
`magnolia_data_driven_schema_configs`.

In this new configuration set you need to create or modify two files,
`solrconfig.xml` and `managed-schema`:

* `solrconfig.xml`, a configuration file with the most parameters
affecting Solr itself.
* `managed-schema`, a file that specifies what fields the Magnolia
content can contain, how those fields are added to the index, and how
they are queried. +
For further details see
link:https://solr.apache.org/guide/8_11/documents-fields-and-schema-design.html[https://solr.apache.org/guide/8_11/documents-fields-and-schema-design.html^].

=== Configuration example

WARNING: Please be aware that different Solr versions may require different content in the Solr configuration files.
The example configuration files attached below are for Solr 8.11.1 and have been tested against version 6.1 of the Magnolia Solr module.

Download the following example configuration files (based on Solr
data_driven_schema_configs link:https://solr.apache.org/guide/8_11/config-sets.html[Config sets^]) and replace with them the default files in the newly created set `magnolia_data_driven_schema_configs/conf`:

* xref:attachment$/solr/managed-schema.xml[Managed Schema]
* xref:attachment$/solr/solrconfig.xml[Solr Config]
Generated at Mon Feb 12 11:00:47 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.