Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Configuring solr indexing with remote solr server

Avatar

Level 5

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.

1 Accepted Solution

Avatar

Correct answer by
Level 10

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 

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

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