cancel
Showing results for 
Search instead for 
Did you mean: 

Disable Content Indexing for Alfresco 5.1 by default

shahrukhk
Champ in-the-making
Champ in-the-making
Hi there,
I am using version 5.1 with SOLR4. What we want to achieve is that by default, the content indexing should be disabled and we only enable it for certain folders/spaces. Only the metadata needs to be indexed.

I know we have the "Index Control" aspect which can be applied to folders or documents and we can apply it as a rule.
Also we can disable it based on the content as suggested in some of the forums.

Our requirement however, is that this feature should be disabled for ALL the documents regardless of the type/aspect etc. and then enable it in very rare scenarios for some documents.

Please let me know in case any more information is required.

Warm Regards,
SR
1 ACCEPTED ANSWER

slibert
Confirmed Champ
Confirmed Champ
Hello,

You can implement some rule or behavior which will set "cm:isContentIndexed=false".
See : http://docs.alfresco.com/5.1/concepts/admin-indexes.html

You can also make your own document type with cm:isContentIndexed set to false as a default.
Some samples here : http://stackoverflow.com/questions/27745037/alfresco-disable-full-text-indexing-on-specific-content-...

Last way is to change default model settings, but it's not recommended.
See : https://wiki.alfresco.com/wiki/Data_Dictionary_Guide#Modifying_an_Alfresco_Content_Model


Regards

View answer in original post

1 REPLY 1

slibert
Confirmed Champ
Confirmed Champ
Hello,

You can implement some rule or behavior which will set "cm:isContentIndexed=false".
See : http://docs.alfresco.com/5.1/concepts/admin-indexes.html

You can also make your own document type with cm:isContentIndexed set to false as a default.
Some samples here : http://stackoverflow.com/questions/27745037/alfresco-disable-full-text-indexing-on-specific-content-...

Last way is to change default model settings, but it's not recommended.
See : https://wiki.alfresco.com/wiki/Data_Dictionary_Guide#Modifying_an_Alfresco_Content_Model


Regards