|
[ms-wsp]: Windows Search Protocol Intellectual Property Rights Notice for Open Specifications Documentation
|
bet | 9/28 | Sana | 25.03.2020 | Hajmi | 349,46 Kb. | | #8793 |
CNatLanguageRestriction
The CNatLanguageRestriction structure contains a natural language query match for a property. Natural language simply means that the string has no formal meaning. The GSS is free to match on the string in a variety of ways. It can drop words, add alternate forms, or make no changes.
0
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
1
0
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
2
0
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
3
0
|
1
|
_Property (variable)
|
...
|
_padding_cc (variable)
|
...
|
Cc
|
_pwcsPhrase (variable)
|
...
|
_padding_lcid (variable)
|
...
|
Lcid
|
_Property (variable): A CFullPropSpec structure. This field indicates the property on which to perform the match operation.
_padding_cc (variable): This field MUST be 0 to 3 bytes in length. The length of this field MUST be such that the following field begins at an offset that is a multiple of 4 bytes from the beginning of the message that contains this structure. If this field is present (that is, length nonzero), the value it contains is arbitrary. The content of this field MUST be ignored by the receiver.
Cc (4 bytes): A 32-bit unsigned integer. The number of characters in the _pwcsPhrase field.
_pwcsPhrase (variable): A non-null-terminated Unicode string containing the text to search for within the specific property. MUST NOT be empty. The Cc field contains the length of the string.
_padding_lcid (variable): This field MUST be 0 to 3 bytes in length. The length of this field MUST be such that the following field begins at an offset that is a multiple of 4 bytes from the beginning of the message that contains this structure. If this field is present (that is, length nonzero), the value it contains is arbitrary. The content of this field MUST be ignored by the receiver.
Lcid (4 bytes): A 32-bit unsigned integer indicating the locale of _pwcsPhrase, as specified in [MS-LCID].
CNodeRestriction
The CNodeRestriction structure contains an array of command tree restriction nodes for constraining the results of a query.
0
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
1
0
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
2
0
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
3
0
|
1
|
_cNode
|
_paNode (variable)
|
...
|
_cNode (4 bytes): A 32-bit unsigned integer specifying the number of CRestriction structures contained in the _paNode field.
_paNode (variable): An array of CRestriction structures. Structures in the array MUST be separated by 0 to 3 padding bytes such that each structure begins at an offset that is a multiple of 4 bytes from the beginning of the message that contains this array. If padding bytes are present, the value they contain is arbitrary. The content of the padding bytes MUST be ignored by the receiver.
|
| |