Use a declarative index — the rows of database tables that are maintained by Declare Index rules — to speed access to instances that have specific property values, especially embedded properties that cannot be exposed. This is an alternative to the approach used by the Property Optimization tool.
After you implement a declarative index, reports can use the indexed property value as a selection criteria. For example, if an array of embedded Universal Product Code (UPC) codes in a work item are indexed, you can report on all work items containing a specific UPC code. Reference the index class on the Contents and Join tabs of the report definition form.
Working together, application developers and a database administrator (DBA) can define an Index- class and a Declare Index rule to improve access to data not in an exposed column of a database table.
Single Value
properties in the new index class to hold the values of the source instance properties. Confirm that all of these properties are exposed columns in the database, or modify the database schema as necessary.Index processing starts as soon as you save the Declare Index rule.
Note: As a best practice, do not create declarative indexes for top-level Single Value properties.
About Declare Index rules
Property optimization using the Property Optimization tool |
|
Standard classes derived from the Index- base class |