Score_graphic, Score_graphic 465 – Kofax DM API User Manual

Page 485

Advertising
background image

DM API T

OKENS

465

%SCORE_GRAPHIC

%SCORE_GRAPHIC

This token is used when a full text search is performed. It expresses the
calculated relevance of each returned item as a value from 1 to 5. Lower
values have greater relevance.

Synta

PCDSearch.AddReturnProperty(“%SCORE_GRAPHIC”)

Parameters

Example

'Create a search object.

Set pClient = CreateObject("PCDClient.PCDSearch.1")


'Return the search relevance as a value from 1 to 5

pClient.AddReturnProperty("%SCORE_GRAPHIC")


'Execute the search

pClient.Execute()


'Create a variable to hold the retrieved search value.

Dim vValue As Variant


'Retrieve the data.

Set vValue = pClient.GetPropertyValue(“%SCORE_GRAPHIC”)


'Process the relevance data.

Related Items

See the

PCDSearch

object.

See the

AddReturnProperty

method.

See the following tokens:

%FT_CONFIDENCE

%FT_FORMAT

%FT_MARKER_LIST

%SCORE_GRAPHIC

Return the search relevance as a
numeric value that ranges from 1 to 5.

Advertising