Index Control (cm:indexControl) behavior

cancel
Showing results for 
Search instead for 
Did you mean: 
pluttero
Member II

Index Control (cm:indexControl) behavior

Hello,

my setup consists of Alfresco Community 5.2

I have a folder, with a deep hierarchy which I would like to exclude completely from solr indexing.

Reading the documentation I found out that I should use Index Control (cm:indexControl) aspect.

I tried to apply it to the root folder, hoping that new content added (as child) to that folder wouldn't have been indexed, but it was.

In order to avoid indexing of a document, I must apply this aspect to it directly, thus Index Control (cm:indexControl) doesn't seem to work on children.

If this is correct, is there another solution to exclude a portion of my SpacesStore from SOLR (both content and meta)?

thanks

2 Replies
angelborroy
Alfresco Employee

Re: Index Control (cm:indexControl) behavior

IndexControl aspect is not hierarchical. You need to apply that aspect to every node you want to exclude from the SOLR Index.

Hyland Developer Evangelist
pluttero
Member II

Re: Index Control (cm:indexControl) behavior

Hi,

thanks for your help. So, applying IndexContorl to every node is the only solution in order to exclude some portions of my workspace from indexing?

If I decide to completely abandon solr (I need it just for some marginal cmis queries we could rewrite in order to work with database), can we just switch it off?

Thanks