Integrate Apache Solr with AEM

In this article I am going to explain how to integrate apache Solr with AEM standalone instance, if you are new to Solr then I would recommend to read below articles to get some idea on Solr

I hope you already installed Apache Solr by following second link and created core directory, if you are not done then I would recommend to install Solr first

AEM Solr Integration

First step is go to configMgr of AEM and select server type to remote solr in Apache Jackrabbit Oak Solr server provider


Go to the RemoteSolrServerConfigurationProvider and enter Solr HTTP URL = “”, the core_directory is the core which you have created to index uploaded data


Go to the crx/de/index.jsp of aem instance and create a solrIndex node below the oak:index something like below

node name solrIndex
primaryType oak:QueryIndexDefintion
type solr
async async




You have successfully completed all configurations from AEM side, now perfrom search in Solr dashboard to check AEM content is indexed on not by simply hitting below Url and enter a keyword called geometrixx , if you see below dashboard by populating some records then the integration is succesfull




Leave a Reply

Your email address will not be published. Required fields are marked *

Visit Us On FacebookVisit Us On Google PlusVisit Us On Twitter