cancel
Showing results for 
Search instead for 
Did you mean: 

About indexed values on model by default

spilby
Confirmed Champ
Confirmed Champ
On this wiki:

http://wiki.alfresco.com/wiki/Full-Text_Search_Configuration

says…

Data dictionary options: The indexing behavior of each property can be set in the content model. By default, they are indexed atomically. The property value is not stored in the index, and the property is tokenized when it is indexed.

I don't understand one thing… By default all the values are indexed?

If they are indexed atomically, it means that if I put


           <property name="cm:content">
              <type>d:content</type>
              <mandatory>false</mandatory>
           </property>


the cm:content is indexed because I don't specify enabled="true"? I must specify enabled="false" for don't index the value?


1 REPLY 1

mrogers
Star Contributor
Star Contributor
Yes all values are indexed.  Unless you turn indexing off either through the model or the index control aspect.

Please note that the page you refer to may be obsolete.   For example I doubt whether atomic works with solr.

To not index you would specify

              <index enabled="false">
                 <atomic>false</atomic>
                 <stored>false</stored>
                 <tokenised>false</tokenised>
              </index>


or since atomic, stored and tokenized are optional



<index enabled="false" />