コミュニティアチーブメントバーを展開する。

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

この会話は、活動がないためロックされています。新しい投稿を作成してください。

解決済み

Solr as an Oak Index

Avatar

Level 2

Hi,

 

We're trying to integrate solr with AEM . We're following solr as an oak index approach. Followed steps mentioned on https://experienceleague.adobe.com/docs/experience-manager-65/deploying/deploying/queries-and-indexi... . I was able to index data at '/' level by creating solr type index.

 

 

How do i restrict it by paths ? i want to index all content under /content/dam/* to a solr collection.

 

I do see below option in solr query configuration 

 

Use for path restrictions

If set to true the Solr index will be used also for filtering nodes by path restrictions.

Default is ‘false’. Need help in where exactly  we need to mention the path 

1 受け入れられたソリューション

Avatar

正解者
Community Advisor

@sonali_d I think this should be the includedPaths property that you need to add to the  oak:QueryIndexDefinition node.

 

Use for Path restrictions is disabled by default and you can enable the same by modifying the following configuration from the system console :

org.apache.jackrabbit.oak.plugins.index.solr.osgi.OakSolrConfigurationProviderService.

元の投稿で解決策を見る

1 返信

Avatar

正解者
Community Advisor

@sonali_d I think this should be the includedPaths property that you need to add to the  oak:QueryIndexDefinition node.

 

Use for Path restrictions is disabled by default and you can enable the same by modifying the following configuration from the system console :

org.apache.jackrabbit.oak.plugins.index.solr.osgi.OakSolrConfigurationProviderService.