2.2.1.13 CRelDocRestriction
A CRelDocRestriction structure contains a relevant document ID.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
_vDocument (variable) |
|||||||||||||||||||||||||||||||
... |
_vDocument (variable): A CBaseStorageVariant structure that specifies a relevant document for a relevance feedback query. The vType field of the _vDocument structure MUST be set to either VT_I4 or to VT_BSTR, specifying a URL string.
-
If vType is set to VT_I4, then vValue MUST be set to the document ID.
-
If vType is set to VT_BSTR, the URL string MUST be formatted by concatenating a constant string containing the docid protocol, the application, and the catalog name with the document ID in decimal representation, as in the following example.
-
docid:Windows.SystemIndex.153
-
-
In the example, "docid" is a uniquie 32-bit unsigned integer, "Windows" is the application name, "SystemIndex" is the catalog name, and "153" is the document ID for the document in decimal notation.<3>