3.1.11 Index Table File
The following three example index table files are part of the example full-text index catalog and are stored in the index table file format, as specified in section 2.13.
This is the INDEX.000 file in the example set:
-
0000 00 00 53 00 00 00 00 00 - 00 00 00 00 00 00 00 00 0010 0b 00 00 00 8c 01 00 00 - 00 00 00 00 00 00 00 00 0020 0b 00 00 00 8c 01 00 00 - 00 00 00 00 00 00 00 00 0030 53 48 52 46 00 00 00 00 - 01 00 00 00 0a 00 00 00 0040 00 00 00 00 01 00 00 00 - 00 00 00 00 00 00 00 00 0050 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 0060 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 0070 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 0080 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 0090 00 00 00 00 01 00 00 00 - 0a 00 00 00 00 00 00 00 00a0 01 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00b0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00c0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00d0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00e0 00 00 00 00 00 00 00 00 - 00 00 00 00 53 48 52 49
The preceding header file has the following structure.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
File Version |
|||||||||||||||||||||||||||||||
Padding |
|||||||||||||||||||||||||||||||
Current Prim. Copy Number |
|||||||||||||||||||||||||||||||
Oper. In Progress |
|||||||||||||||||||||||||||||||
# Rec. In First Data File |
|||||||||||||||||||||||||||||||
# Val. Bytes In First Data File |
|||||||||||||||||||||||||||||||
# Unused bytes In First Data File |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
# Rec. In Sec. Data File |
|||||||||||||||||||||||||||||||
# Val. Bytes In Sec. Data File |
|||||||||||||||||||||||||||||||
# Unused bytes In Sec. Data File |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
Signature 1 |
|||||||||||||||||||||||||||||||
Reserved 1 |
|||||||||||||||||||||||||||||||
idCompilationCompleted |
|||||||||||||||||||||||||||||||
Reserved2 |
|||||||||||||||||||||||||||||||
CatalogInitialized |
|||||||||||||||||||||||||||||||
... (variable) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
Signature 2 |
File Version (4 bytes): Set to 00 00 53 00.
Padding (4 bytes): Set to 00 00 00 00.
Current Prim. Copy Number (4 bytes): Set to 00 00 00 00.
Oper. In Progress (4 bytes): Set to 00 00 00 00.
# Rec. In First Data File (4 bytes): Set to 0b 00 00 00.
# Val. Bytes In First Data File (4 bytes): Set to 8c 01 00 00.
# Unused bytes In First Data File (8 bytes): Set to 00 00 00 00 00 00 00 00.
# Rec. In Sec. Data File (4 bytes): Set to 0b 00 00 00.
# Val. Bytes In Sec. Data File (4 bytes): Set to 8c 01 00 00.
# Unused bytes In Sec. Data File (8 bytes): Set to 00 00 00 00 00 00 00 00.
Signature 1 (4 bytes): Set to 53 48 52 46.
Reserved 1 (4 bytes): Set to 00 00 00 00.
idCompilationCompleted (4 bytes): Set to 01 00 00 00.
Reserved2 (4 bytes): Set to 00 00 00 00.
CatalogInitialized (4 bytes): Set to 01 00 00 00.
... (variable): Continuation.
Signature 2: Set to 53 48 52 49.
This is the INDEX.001 file in the example set:
-
0000 00 00 00 00 00 00 01 00 - 04 00 53 00 00 00 00 00 0010 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 0020 04 00 54 00 07 00 02 00 - 00 00 01 00 07 00 53 00 0030 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 0040 00 00 00 00 0e 00 56 00 - 08 00 01 00 00 00 01 00 0050 09 00 53 00 00 00 00 00 - 00 00 00 00 00 00 00 00 0060 00 00 00 00 00 00 00 00 - 11 00 55 00 08 00 02 00 0070 00 00 01 00 0a 00 53 00 - 00 00 00 00 00 00 00 00 0080 00 00 00 00 00 00 00 00 - 00 00 00 00 12 00 56 00 0090 01 00 01 00 00 00 ff ff - 03 00 53 00 02 00 00 00 00a0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00b0 06 00 53 00 02 00 01 00 - 00 00 ff ff 03 00 53 00 00c0 49 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00d0 00 00 00 00 4e 00 53 00 - 03 00 01 00 00 00 ff ff 00e0 03 00 53 00 4e 00 00 00 - 00 00 00 00 00 00 00 00 00f0 00 00 00 00 00 00 00 00 - 54 00 53 00 04 00 01 00 0100 00 00 ff ff 03 00 53 00 - 95 00 00 00 00 00 00 00 0110 00 00 00 00 00 00 00 00 - 00 00 00 00 9c 00 53 00 0120 05 00 01 00 00 00 ff ff - 03 00 53 00 99 00 00 00 0130 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 0140 a1 00 53 00 06 00 01 00 - 06 00 01 00 00 00 53 00 0150 99 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 0160 00 00 00 00 a5 00 55 00 - 01 00 00 00 01 00 fe ff 0170 05 00 53 00 10 03 00 00 - 00 00 00 00 00 00 00 00 0180 00 00 00 00 00 00 00 00 - 17 03 51 00 00 00 00 00 0190 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 01a0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 … ffe0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 fff0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
The preceding data file has the following structure.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ComponentID |
|||||||||||||||||||||||||||||||
IndexID |
|||||||||||||||||||||||||||||||
Type |
Version |
||||||||||||||||||||||||||||||
MaxDocID |
|||||||||||||||||||||||||||||||
Reserved1 |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
PropagationFlag |
|||||||||||||||||||||||||||||||
Reserved2 |
|||||||||||||||||||||||||||||||
CheckSum |
|||||||||||||||||||||||||||||||
... (variable) |
|||||||||||||||||||||||||||||||
... |
ComponentID (4 bytes): Set to 00 00 00 00.
IndexID (4 bytes): Set to 00 00 01 00.
Type (2 bytes): Set to 04 00.
Version (2 bytes): Set to 53 00.
MaxDocID (4 bytes): Set to 00 00 00 00.
Reserved1 (8 bytes): Set to 00 00 00 00 00 00 00 00.
PropagationFlag (4 bytes): Set to 00 00 00 00.
Reserved2 (4 bytes): Set to 00 00 00 00.
CheckSum (4 bytes): Set to 04 00 54 00.
... (variable): Continuation.