Share via


Vector Rank Constants

Note

Indexing Service is no longer supported as of Windows XP and is unavailable for use as of Windows 8. Instead, use Windows Search for client side search and Microsoft Search Server Express for server side search.

 

The vector rank constants specify the ranking method to use to evaluate the rank of a match in a vector space query.

#define VECTOR_RANK_MIN     ( 0 )  // Use minimum algorithm
#define VECTOR_RANK_MAX     ( 1 )  // Use maximum algorithm
#define VECTOR_RANK_INNER   ( 2 )  // Use inner product algorithm
#define VECTOR_RANK_DICE    ( 3 )  // Use Dice coefficient algorithm
#define VECTOR_RANK_JACCARD ( 4 )  // Use Jaccard coefficient algorithm

Remarks

The dwRankingMethod member of the DBCONTENTVECTOR structure uses these constants.