cancel
Showing results for 
Search instead for 
Did you mean: 

Disabling and re-enabling content indexing

ukdavo
Champ in-the-making
Champ in-the-making
I am aware that it's possible to disable indexing of content by modifying the type definition for cm:content in contentModel.xml. Any content that is added after this is not searchable by content.

1. Is there a way to identify documents where the content has not been indexed? I had a look at http://wiki.alfresco.com/wiki/Search#Finding_nodes_by_content but cannot find any docs using TEXT:"nint", TEXT:"nitf" or TEXT:"nicm". Any ideas?

2. How can we index these documents? Of course we could roll back the changes to contentModel.xml but this won't cue up the existing documents for indexing. Would we have to perform a full index by setting 'index.recovery.mode=FULL' in alfresco-global.properties?

Cheers

Mark
2 REPLIES 2

afaust
Legendary Innovator
Legendary Innovator
Hello,

in such a case, a FULL rebuild is the necessary step to take for a global index configuration change.

Regards
Axel

abarisone
Star Contributor
Star Contributor
HI,
from Alfresco 4.0.d on it is possible to control indexing on a particular content type exploiting the cm:indexControl aspect, provided with basic contentModel.xml:
<!–                  –>
      <!– Indexing control –>
      <!–                  –>
     
      <aspect name="cm:indexControl">
         <title>Index Control</title>
         <properties>
            <property name="cm:isIndexed">
               <title>Is indexed</title>
               <type>d:boolean</type>
               <default>true</default>
            </property>
            <property name="cm:isContentIndexed">
               <title>Is content indexed</title>
               <type>d:boolean</type>
               <default>true</default>
            </property>
         </properties>
      </aspect>
Hope this helps.
Regards,
Andrea
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.