Configuring the Search Index

From TeamServer ER/Studio
Jump to: navigation, search

Go Up to Administrator Guide

You can configure Team Server to apply custom filters to searches, so that you can exclude certain ER object types and properties from the search index and results.

Filters may work either on a certain ER object type and all its properties, or on a specific property of an ER object type. An ER object or property affected by a filter does not appear in the search page, neither among the results.

To exclude an ER object type or property from the search results, edit the RepoRpt.xml configuration file. You can find this file inside the solutions\etl\config directory, within the Team Server installation folder.

All the various ER objects types and combinations of ER object types and properties are included in RepoRpt.xml , commented. All you have to do is uncomment the appropriate line in the XML file to create a search filter.

Excluding an ER Object Type

To exclude an ER object type and all its properties, add an Object element to RepoRpt.xml , inside the Objects element, using the following syntax: <Object OBJECT_TYPE="ER Object Type" SEARCH="FALSE" />; where ER Object Type is the type of ER object to exclude.

For example, to filter tables:

<Object OBJECT_TYPE="Table" SEARCH="FALSE"/>

Excluding a Property

To exclude a specific property of an ER object type, add an Object element to RepoRpt.xml , inside the Objects element, using the following syntax: <Object OBJECT_TYPE="ER Object Type" PROPERTY_TYPE="Property" SEARCH="FALSE" />; where ER Object Type is the type of ER object that contains the property, and Property is the name of the property to exclude.

For example, to filter the DataType property of columns:

<Object OBJECT_TYPE="Column" PROPERTY_TYPE="DataType" SEARCH="FALSE"/>

See Also