3.1.2 Compound Scope Index
The following file is 000100006.0000000A.csi in the example full-text index catalog and stores a compound scope index in the scope index file format, as specified in section 2.4.
-
0000 02 00 00 00 00 00 00 00 - ff ff 17 08 ff ff ff ff 0010 ff ff ff ff ff ff ff ff - ff ff ff ff ff ff ff ff 0020 ff ff ff ff ff ff ff ff - ff ff ff ff ff ff ff ff 0030 ff ff ff ff ff ff ff ff - ff ff ff ff ff ff ff ff 0040 ff ff ff ff ff ff ff ff - ff ff ff ff ff ff ff ff 0050 ff ff ff ff ff ff ff ff - ff ff ff ff ff ff ff ff 0060 ff ff ff ff ff ff ff ff - ff ff ff ff ff ff ff ff 0070 ff ff ff ff ff ff ff ff - ff ff ff ff ff ff ff ff 0080 ff ff ff ff ff ff ff ff - 1c f1 ff ff 00 00 00 00 0090 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00a0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 … 0fd0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 0fe0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 0ff0 00 00 00 00 00 00 00 00 - 00 00 00 00 02 00 00 00
To illustrate file format each 4 bytes are reversed and written in binary form in the following bit table.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Start Page Signature |
|||||||||||||||||||||||||||||||
Link |
Prefix 4 |
Suffix 4 |
Prefix 8 |
||||||||||||||||||||||||||||
... |
Suffix 8 |
Suffix Value 0 |
Suffix Value 1 |
... |
|||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
A |
C |
=3 |
... |
||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
End Page Signature |
Start Page Signature (4 bytes): Set to 00000000000000000000000000000010.
Link (20 bits): Set to 00000000000000000000.
Prefix 4 (4 bits): Set to 0000.
Suffix 4 (4 bits): Set to 0000.
Prefix 8 (1 byte): Set to 00000000.
Suffix 8 (1 byte): Set to 129 (10000001).
Suffix Value 0 (1 byte): Set to 01111111.
Suffix Value 1 (1 byte): Set to 11111111.
... (variable): Continuation.
A - Suffix Value128 (4 bits): Set to 1111.
C (1 bit): Set to 0.
DocID Count (4 bits): For a count of 3, set to 0010.
... (variable): Continuation.
End Page Signature (4 bytes): Set to 00000000000000000000000000000010.