cancel
Showing results for 
Search instead for 
Did you mean: 

Disable Full Text Indexing

jjf
Champ in-the-making
Champ in-the-making
Is there a way to disable full text indexing of content?  If so, will this aid in the performance of running "index.recovery.mode=FULL".  Right now a full index takes hours to run and over 1GB of memory.  We have no need for Full text indexing in Alfresco so if it can be disabled, we'd like to pursue that. Thanks.
24 REPLIES 24

lee
Champ in-the-making
Champ in-the-making
Check the forums for oom errors there are a lot of posts regarding how to deal with them. You may also want to look at the documentation for how to backup alfresco correctly instead of just copying everything across.

This will get you started with jvm tuning: http://wiki.alfresco.com/wiki/Repository_Hardware

zladuric
Champ on-the-rise
Champ on-the-rise
I did, I've done a lot of tuning, but I can't get a hold of what's wrong. I just want this indexing part to finish, then I'd be on my way.

Anyway, thanks for your help.

nicolasf21
Champ in-the-making
Champ in-the-making
Overrides indexing is possible ? I have a model error when I disable indexing on Alfresco 3.4.4.

I have this error :
Caused by: org.jibx.runtime.JiBXException: Expected "{http://www.alfresco.org/model/dictionary/1.0}property" end tag, found "{http://www.alfresco.org/model/dictionary/1.0}index" start tag (line 83, col 29)

Model used :


   <type name="tt:contentNoToken">
      …
      <mandatory-aspects>
        <aspect>tt:removeIndexContent</aspect>
      </mandatory-aspects>
    </type>


  <aspects>
    <aspect name="tt:removeIndexContent">
      <title>Versionable</title>
      <parent>cm:versionable</parent>
      <overrides>
       <property name="cm:content">
         <type>d:content</type>                  //******with or without*******
         <mandatory>false</mandatory>
         <index enabled="false">
           <atomic>true</atomic>
           <stored>false</stored>
           <tokenised>true</tokenised>
         </index>
      </property>
     </overrides>
    </aspect>
  </aspects>

Thank you in advance for any help.

Nicolas F.

nicolasf21
Champ in-the-making
Champ in-the-making
Apparently override indexing is impossible.
In modelSchema.xsd index tags don't exist in propertyOverride.

http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root/projects/repository/config/alf... :

….
   <xs:complexType name="propertyOverride">
      <xs:sequence>
         <xs:element name="mandatory" type="xs:boolean"
            maxOccurs="1" minOccurs="0" />
         <xs:element name="default" type="xs:string"
            maxOccurs="1" minOccurs="0" />
         <xs:element name="constraints" maxOccurs="1"
            minOccurs="0">
            <xs:complexType>
               <xs:sequence>
                  <xs:element name="constraint" type="dd:constraint"
                     maxOccurs="unbounded" minOccurs="1" />
               </xs:sequence>
            </xs:complexType>
         </xs:element>
      </xs:sequence>
      <xs:attributeGroup ref="dd:name" />
   </xs:complexType>
….

Only mandatory, default and constraint can be override.

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