2.6.1.2.2 EncodedDOCIDDelta Structure

The EncodedDOCIDDelta structure stores the encoded DocIDDelta and the number of bits used to store the corresponding element in the OccCount bit stream of the ExtensionDataPage. The value of the Code field corresponds to a symbol according to the Coding table stored in the ExtensionCompressionTablePage.


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

Code (variable)

...

DOCIDDelta (variable)

...

Code (variable): Bit sequence for symbol corresponding to the document identifier. The size of this field MUST equal the value of the Length field in the corresponding CodingTableEntry element of the Coding table array in the ExtensionCompressionTablePage.

DOCIDDelta (variable): Uncompressed DocIDDelta value for the document identifier. This field only exists if Code field defines a special symbol. The size of this field MUST be 2 bytes if Code field defines the first special symbol for the category, or 4 bytes if the Code field defines a special symbol other than the first special symbol.