Header

DocIdData

Ords

TermsDict

TermsIndex

Footer

Lucene 8.4.0 索引文件之.dvd(SortedDocValues)

Block

Block

Block

BlockIndex

... ...

FirstTermLength

FirstTermValue

PrefixLength && SuffixLength

SuffixValue

... ...

PrefixLength && SuffixLength

SuffixValue

第2个域值

第1个域值

第16个域值

address

address

address

... ...

u78_seg0 u78_seg1
u79_seg0 u79_seg1
u80_seg0 u80_seg1

sortedValues[]

3

0

2

1

0

1

2

数组元素为termId

数组下标为ord

3

0

4

9

12

0

1

2

3

4

5

6

18

19

bytesStart数组

... ...

3

109

111

112

4

115

116

97

114

2

111

102

4

109

111

116

104

0

0

0

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

0

0

32768

32769

... ...

18

buffers二维数组

mop

moth

of

star

数组下标为termId

u179_seg0 u179_seg1
u180_seg0 u180_seg1
u181_seg0 u181_seg1
u182_seg0 u182_seg1
u183_seg0 u183_seg1
u184_seg0 u184_seg1
u185_seg0 u185_seg1
u186_seg0 u186_seg1
u187_seg0 u187_seg1
u188_seg0 u188_seg1
u189_seg0 u189_seg1
u190_seg0 u190_seg1