Service Calls Data Tracking Functions

8-26 Application Administrators Guide for Content Server

8.4.2.2 Search Relevance Metadata Fields

Before you can link the activity metrics functions to custom metadata fields, the fields must already exist and must be of the correct type. The metadata field associated with the Last Access metric must be of type Date. The metadata fields associated with the Access Count metrics must be of type Integer. See Creating the Search Relevance Metadata Fields on page 8-45. When you create custom metadata fields to use in conjunction with the activity metrics, you have the option to enable them for the search index. If the custom metadata fields are indexed and searchable, the access values stored in them are more efficiently accessed. That is, indexed fields are more useful for selecting andor ordering search results by relevance. Indexing is expensive, particularly when full text search is enabled. The disadvantage of indexed metadata fields is that when the values in the search relevance metadata fields change, the affected content items must be re-indexed to update their values in the database table. Therefore, on a large instance with many content item accesses, updating the search relevance fields will adversely affect performance. Alternatively, you can disable the indexing function of the custom metadata fields. In this case, it is possible to search on and find values for non-indexed metadata fields, but the search is more expensive. If re-indexing the affected content items degrades the performance too severely, you can optionally deactivate the Snapshot function. Unfortunately, this means that the activity metrics information will no longer be collected. As a result, you will be unable to order current search results by usage for example, listing accessed content items in order of decreasing popularity.

8.4.3 Service Calls

Content Tracker enables you to log Content Server service calls along with data values relevant to the associated services. Every service that you want to be logged must have a service entry in the serviced call configuration file SctServiceFilter.hda. In addition to the services that are logged, their corresponding field map ResultSets can optionally be included in the SctServiceFilter.hda. The service entries in the SctServiceFilter.hda file allow Content Tracker to gather event and usage information. The enabled services automatically log various general DataBinder fields, such as dUser and dDocName. Linking a field map ResultSet to a service entry enables you to use the extended service call tracking function. The field map ResultSet consists of a list of data field names, location names, and their associated general purpose table column names in the output database table SctAccessLog. The SctAccessLog table provides additional general purpose columns for use with the extended service call tracking function. You can fill these columns with any data values you feel are appropriate for the associated service call. When you list the data field names in the field map ResultSet, you must also list the location name that is the Note: By default, Content Tracker only logs services that have event types for content access or services that cause an entry to be made in the DocHistory table. Although this ensures maximum performance, this means that some service events will not be logged. See Performance Optimization Functions on page 8-1 for more information. Managing Content Tracker 8-27 source of the data field, and the table column name where the data is logged. Because the extended service tracking function logs and tracks specific data for a specific service call, you can generate customized reports for access and usage information. For more information about the SctAccessLog table and the general purpose columns, see Combined Output Table on page 8-12. For more detailed information about the SctServiceFilter.hda file, the extended service call tracking function, and ResultSet configuration, see Service Call Configuration on page 8-75.

8.4.4 Web Beacon Objects