···4343 docSectionsStart uint32
4444 docSectionsIndex []uint32
45454646- runeDocSections []DocumentSection
4747- runeDocSectionsRaw []byte
4646+ runeDocSections []DocumentSection
48474948 // rune offset=>byte offset mapping, relative to the start of the content corpus
5049 runeOffsets runeOffsetMap
+1-8
matchtree.go
···989989 }
990990991991 if substr, ok := subMT.(*substrMatchTree); ok {
992992- // We have a feature flag for lazy decoding. If runeDocSectionsRaw is
993993- // non-nil it means we need to lazily decode on request.
994994- sections := d.runeDocSections
995995- if sections == nil && d.runeDocSectionsRaw != nil {
996996- sections = unmarshalDocSections(d.runeDocSectionsRaw, nil)
997997- }
998998-999992 return &symbolSubstrMatchTree{
1000993 substrMatchTree: substr,
1001994 patternSize: uint32(utf8.RuneCountInString(substr.query.Pattern)),
1002995 fileEndRunes: d.fileEndRunes,
1003996 fileEndSymbol: d.fileEndSymbol,
10041004- sections: sections,
997997+ sections: d.runeDocSections,
1005998 }, nil
1006999 }
10071000