To replace the AEM OOTB Lucene index with a remote Solr server, you will need to:
- Install and configure Solr.
- Configure AEM to use the remote Solr server.
- Disable the AEM OOTB index.
- Migrate your existing data to the remote Solr server.
- Configure path and property restrictions for the remote Solr server.
Installing and configuring Solr
You can download and install Solr from the Apache Solr website. Once Solr is installed, you will need to configure it. This includes setting up the Solr schema, creating a Solr core, and configuring Solr security.
Configuring AEM to use the remote Solr server
To configure AEM to use the remote Solr server, you will need to edit the OakRepositoryConfig.xml file. This file is located in the /WEB-INF/config/ directory of your AEM installation.
In the OakRepositoryConfig.xml file, you will need to add the following configuration:
You also have to think about Migrating your existing data to the remote Solr server.
Documentation:
Kautuk Sahni