IntrinsicWeightSort Command

Use the IntrinsicWeightSort command in a Logic Template to sort results based upon the intrinsic weighting value, used to estimate the likelihood of a true match. The intrinsic weight for each record returned, is determined by combining the weighting values assigned to the individual search requests with the relevancy ranking values and weighting values assigned to those indexes being searched.

Each index can be assigned a weighting value when it is created. In addition, keyword indexes may be created with a relevancy rank associated with each instance of a word within the index. Each time a match is made against a record, the associated weighting value is added to the accumulated weight for that record. After all indexes have been searched, the final weight for each record is used to determine its order within the sort.

Relevancy ranking when limited to use with indexes on titles or small sections of text can be a very powerful tool in determining the importance of results. A perfect match of a title indexed with relevancy ranking set, ranks 16 times higher than a single word match of an index of equal weight without relevancy ranking set.

To execute a Intrinsic Weight Sort request, use the IntrinsicWeightSort command with a single argument:

IntrinsicWeightSort( pas );

IntrinsicWeightSort Arguments

Argument

Description

pas

The pass during which the sort is to be executed.

Access the IntrinsicWeightSort Dialog Box by selecting the Intrinsic Weight menu item under the Sorting category of the Logic Template editor command menu.

Examples

Command

Description

IntrinsicWeightSort( 1 );

Sort results by intrinsic weight during pass 1.

BackwardDateSort( _PubDate, 1);

IntrinsicWeightSort( 1 );

Sort results by the date in "_PubDate" and then by intrinsic weight.