mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-20 21:18:13 +02:00
feat: carry char spans on existing chunks
This commit is contained in:
parent
55491fef9d
commit
1e33c28c24
1 changed files with 3 additions and 0 deletions
|
|
@ -19,6 +19,9 @@ class ExistingChunk:
|
|||
id: int
|
||||
content: str
|
||||
position: int
|
||||
# Stored char span; None for legacy rows indexed before spans existed.
|
||||
start_char: int | None = None
|
||||
end_char: int | None = None
|
||||
|
||||
|
||||
@dataclass(frozen=True, slots=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue