次の方法で共有


Proximity Unit 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 proximity unit constants specify the unit of measurement for text when applying the proximity operator.

#define PROXIMITY_UNIT_WORD      ( 0 )
#define PROXIMITY_UNIT_SENTENCE  ( 1 )
#define PROXIMITY_UNIT_PARAGRAPH ( 2 )
#define PROXIMITY_UNIT_CHAPTER   ( 3 )

Remarks

The dwProximityUnit member of the DBCONTENTPROXIMITY structure uses these constants.

The OLE DB Provider for Indexing Service currently uses only the PROXIMITRY_UNIT_WORD constant. The other constants are reserved for future use.