O'Reilly logo

Alfresco One 5.x Developer's Guide - second edition by Jeff Potts, Benjamin Chevallereau

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Manage property indexing

Directly in your content model, you can specify how your properties will be indexed by Solr. Below each property, you can add an index element like this one (that contains the default value):

<index enabled='true'> 
    <atomic>true</atomic> 
    <stored>false</stored> 
    <tokenised>true</tokenised> 
</index> 

Here is the list of possible configuration:

  • Change the enabled attribute to false to do not index this specific property. It means that you won't be able to search on it.
  • Change the atomic property depending if you want properties to be indexed as part of the transaction commit (true), or indexed in the background (false). For example, the properties using  typed:content are indexed in the background because some transformations ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required