| <aims:addRelevance | Attribute Description Table |
| Attributes that set values: (r)docId="string" (r)relevance="1 - 10" Attributes that pass objects: (r)connectionId="object" (r)service="object" > No nested tags </aims:addRelevance > | |
| (r): Attribute or nested tag is required. | |
| Attribute | Usage |
|---|---|
| connectionId | Holds information about the connection. The connection is created using aims:httpConnection or aims:tcpConnection. |
| docId | String used to uniquely identify a document. The format for an ID is the following: {HHHHHHHH-HHHH-HHHH-HHHH-HHHHHHHHHHHH} where H is a hexadecimal digit (0-9,a-f,A-F). The ID is limited to 38 characters. |
| relevance | Value between 1 and 10 indicating the relative relevance of the document to the client. The value is added to the existing value for a new relevance total. |
| service | The name of the metadata service. |
| <aims:getSettings id="hostName" value="meta_host_name" /> <aims:getSettings id="portNumber" value="meta_port_number" /> <aims:getSettings id="serviceName" value="meta_service_name" /> <aims:tcpConnection id="myConnection" host="<%= hostName %>" port="<%= portNumber %>" debug="true" /> <% String docId = request.getParameter("docId"); %> <aims:addRelevance relevance="4" connectionId="<%= myConnection %>" service="<%= serviceName %>" docId="<%= docId %>" /> |