Adding Additional Fields
To add additional fields, edit the FullTextIndex objects and add a field with analyzed="true" set: <FullTextField analyzed="true" name="myAttribute"/>.
The following example illustrates how to add a new full text searchable field (division) and indicate a location for the index files (/tmp/indexlocation). This example is for the roles index file.
Note: Roles are also referred to as bundles in the product code.
Field options:
-
Analyzed – used to index the field and for full text searching. Add analyze fields to include custom attributes in full text search.
-
Indexed – enables the field to be used in the advanced filters on the access request pages.
-
Stored – enables the field to return in the search results and display on the access request pages, if the user interface is designed to support this use.
-
Ignored – sets the field to not be used in full text searching nor filtering. This field does appear in the filter passed down from the user interface.
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE FullTextIndex PUBLIC "sailpoint.dtd" "sailpoint.dtd">
<FullTextIndex created="1346076712810" id="4028818239686c4f0139686c9f6900e7" name="Bundle">
<Attributes>
<Map>
<entry key="fields">
<value>
<List>
<FullTextField analyzed="true" indexed="true" name="name"/>
<FullTextField analyzed="true" indexed="true" name="displayableName"/>
<FullTextField analyzed="true" name="description"/>
<FullTextField indexed="true" name="assignedScope.path"/>
<FullTextField indexed="true" name="type"/>
<FullTextField name="defaultDescription" stored="true"/>
<FullTextField ignored="true" name="disabled"/>
<FullTextField name="riskScoreWeight" stored="true"/>
<FullTextField name="owner.id"/>
<FullTextField name="owner.name"/>
<FullTextField name="owner.displayName" stored="true"/>
<FullTextField name="division" analyzed="true" indexed="true">
</List>
</value>
</entry>
<entry key="indexPath" value="/tmp/indexlocation"/>
</Map>
</Attributes>
</FullTextIndex>