
DM API TOKENS 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.
Comentários a estes Manuais