2.2.3.9 CPMCreateQueryOut

The CPMCreateQueryOut message contains a response to a CPMCreateQueryIn message.

The format of the CPMCreateQueryOut message that follows the header is shown in the following diagram.


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

_fTrueSequential

_fWorkIdUnique

aCursors (variable)

...

_fTrueSequential (4 bytes): A 32-bit unsigned integer. MUST be set to one of the following values.

Note An informative value indicating if the query can be expected to provide results faster.

Value

Meaning

0x00000000

For the query provided in CPMCreateQueryIn, there would be a bigger latency in delivering query results.

0x00000001

For the query provided in CPMCreateQueryIn, the server can use the inverted index in such a way that query results will likely be delivered faster.

_fWorkIdUnique (4 bytes): A Boolean value indicating if the document identifiers pointed to by the cursors (2) are unique throughout query results. MUST be set to one of the following values.

Value

Meaning

0x00000000

The document identifiers are unique only throughout the rowset.

0x00000001

The document identifiers are unique across multiple query results.

aCursors (variable): An array of 32-bit unsigned integers representing the handles to cursors with the number of elements equal to the number of categories in the CategorizationSet field of the CPMCreateQueryIn message, plus one element, which represents an uncategorized cursor.