Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Provide a list of items to be indexed. This is done in system configuration object, for example by including the following configuration:

    Code Block
    languagexml
    titleSample configuration for indexing objects' text content
    linenumberstrue
    <fullTextSearch>
       <indexed>  <!-- no "objectType" element means this applies to all objects -->
          <item>name</item>
          <item>description</item>
       </indexed>
       <indexed>
          <objectType>UserType</objectType>
          <item>fullName</item>
          <item>givenName</item>
          <item>familyName</item>
          <item>additionalName</item>
          <item>nickName</item>
          <item>emailAddress</item>
          <item>telephoneNumber</item>
          <item>honorificPrefix</item>
          <item>honorificSuffix</item>
          <item>title</item>
          <item>employeeNumber</item>
          <item>employeeType</item>
          <item>costCenter</item>
          <item>organization</item>
          <item>organizationalUnit</item>
          <item>locality</item>
       </indexed>
       <indexed>
          <objectType>AbstractRoleType</objectType>  <!-- thereuse can be more "objectType" elements for a single entry (not shown here) AbstractRoleType for self-service with Role catalog ! -->
          <item>displayName</item>
          <item>identifier</item>
       </indexed>
       <indexed>
          <objectType>RoleType</objectType> <!-- there can be more "objectType" elements for a single entry (not shown here) -->
          <item>roleType</item>
       </indexed>
       <indexed>
          <objectType>OrgType</objectType>
          <item>orgType</item>
          <item>costCenter</item>
          <item>locality</item>
          <item>mailDomain</item>
       </indexed>
       <indexed>
          <objectType>ServiceType</objectType>
          <item>serviceType</item>
          <item>locality</item>
       </indexed>
    </fullTextSearch> 
  2. Re-index existing objects. This can be done by About -> Reindex repository objects action.

...