cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to disable the indexing during big import?

clincks
Champ in-the-making
Champ in-the-making
Hi,

I should like to know if it is possible to disable indexing of documents during an big import process (arround 500GB of data).

Thanks.

Stephane
3 REPLIES 3

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

lista
Star Contributor
Star Contributor
We're such a great community, answering questions even after so many years! Smiley Happy
Try putting the following line in your alfresco-global.properties:

index.tracking.disableInTransactionIndexing=true

andy
Champ on-the-rise
Champ on-the-rise
Hi

If you have the enterprise version of the product you can do this via share admin and not have to start and stop Alfresco.

Andy