Rediger

Del via


DBCONTENTPROXIMITY structure (cmdtree.h)

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 DBCONTENTPROXIMITY structure represents specific information required by the DBOP_content_proximity operator.

Syntax

typedef struct tagDBCONTENTPROXIMITY {
  DWORD dwProximityUnit;
  ULONG ulProximityDistance;
  LONG  lWeight;
} DBCONTENTPROXIMITY;

Members

dwProximityUnit

words, paras, chapters etc.

ulProximityDistance

how near is "near"?

lWeight

weight of the proximity node

Remarks

For valid values of the dwProximityUnit member, see Proximity Unit Constants.

For more information on the DBOP_content_proximity operator, see Content Search Operators.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header cmdtree.h