127

255

383

511

639

767

895

1023

1151

1279

1407

1535

1663

1791

1919

2047

2175

2303

2431

2559

2687

2815

2943

3071

3199

3327

3455

3

6

9

12

15

18

21

24

27

level = 0

383

767

1151

1535

1919

2303

2687

3071

3455

level = 1

3

6

9

1151

2303

3455

3455

3

level = 2

level = 3

skipMultiplier = 3

skipInterval = 128

0

1

126

127

… …

SkipLevelLength

SkipLevel

SkipLevelLength

SkipLevel

SkipLevel

... ...

level = N

level = 1

level = 0

SkipDatum

SkipDatum

... ...

DocSkip

DocFPSkip

PosFPSkip

PosBlockOffset

PayLength

PayFPSkip

ImpactsLength

Impacts

SkipChildLevelPointer

Header

TermFreqs

SkipData

TermFreqs

SkipData

Footer

... ...

索引文件.doc(Lucene 8.4.0)

SkipDatum

SkipDatum

SkipDatum

SkipDatum

... ...

DocSkip

DocFPSkip

PosFPSkip

PosBlockOffset

PayLength

PayFPSkip

ImpactsLength

Impacts

Impact

Impact

Impact

... ...

freq

freq

normValue

u615_seg0 u615_seg1 u615_seg2

Impact

Impact

Impact

... ...

freq

freq

normValue

u632_seg0 u632_seg1 u632_seg2
u633_seg0 u633_seg1 u633_seg2
u634_seg0 u634_seg1 u634_seg2