Configuring solr indexing with remote solr server | Community
Skip to main content
Level 4
October 16, 2015
Solved

Configuring solr indexing with remote solr server

  • October 16, 2015
  • 1 reply
  • 894 views

We have integrated a remote solr server using the guidelines given at 

http://docs.adobe.com/docs/en/aem/6-0/deploy/upgrade/queries-and-indexing.html

The entire jcr nodes were indexed.

However We want to be able to index only particular path under which our product data resides(eg /content/products) not entire repository.

Could anyone guide on how to configure the same.

Thanks in advance.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Kunal_Gaba_

This configuration is meant for indexing OAK repository so all the index configurations defined in crx will be used for indexing the JCR nodes. Even though you can define in crx which node paths to index but if you remove all the indexes and just keep /content/products then your repository will slow down terribly. So, I guess for your use case (if you don't want to index JCR nodes in the remote solr) it will be better of to use a remote solr server and index the contents using a custom method which won't use the oak repository indexes. For reference see this project - https://github.com/headwirecom/aem-solr-search 

1 reply

Kunal_Gaba_
Kunal_Gaba_Accepted solution
October 16, 2015

This configuration is meant for indexing OAK repository so all the index configurations defined in crx will be used for indexing the JCR nodes. Even though you can define in crx which node paths to index but if you remove all the indexes and just keep /content/products then your repository will slow down terribly. So, I guess for your use case (if you don't want to index JCR nodes in the remote solr) it will be better of to use a remote solr server and index the contents using a custom method which won't use the oak repository indexes. For reference see this project - https://github.com/headwirecom/aem-solr-search