AnsweredAssumed Answered

Index control options

Question asked by mrsaqib on Jan 7, 2013
Latest reply on Jan 10, 2013 by mrsaqib
I am confused with the content options provided by alfresco, Is there any difference between them? any priority or performance difference?

1. IN reposity.properties file
lucene.indexer.contentIndexingEnabled=true
This property controls whether or not the content of the documents is indexed. If false, content is not indexed.

2. In contentModel.xml file, we can control the indexing by <index enabled="true" or "false">

<type name="cm:content">
        <title>Content</title>
        <parent>cm:cmobject</parent>
        <properties>
           <property name="cm:content">
              <type>d:content</type>
              <mandatory>false</mandatory>
              <index enabled="true">
                 <atomic>false</atomic>
                 <stored>false</stored>
                 <tokenised>true</tokenised>
              </index>
           </property>
        </properties>
     </type>

3. In the same file
<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>
     

Outcomes