Commit 239ece0
docs(indexing): §G.5 amendment — index_modality (not modality) for retrieval-modality discriminator (#1728)
Bryce T3.2 implementation (PR #1727 follow-up commit 5325788 on
chenyexuan/celery-wave3-cutover) flagged a name collision: D10.h
already locked SearchResultMetadata.modality as the content-modality
field (Literal["text", "image"]). v3 design pack §G.5 narrative
re-used `modality` for "which retrieval modality served this hit"
(Literal["vector", "fulltext", "graph", "summary", "vision"]),
which would shadow the D10.h field.
Architect ack of Bryce's chosen disambiguation: rename the new field
to `index_modality`. D10.h `modality` (content) preserved.
SearchResultMetadata gains three new fields total: parse_version /
index_modality / index_state_per_modality. The two are orthogonal —
a hit can be (index_modality="vector", modality="text") or
(index_modality="vision", modality="image").
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>1 parent f370dc6 commit 239ece0
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1085 | 1085 | | |
1086 | 1086 | | |
1087 | 1087 | | |
1088 | | - | |
| 1088 | + | |
1089 | 1089 | | |
1090 | 1090 | | |
1091 | 1091 | | |
| 1092 | + | |
| 1093 | + | |
1092 | 1094 | | |
1093 | 1095 | | |
1094 | | - | |
| 1096 | + | |
1095 | 1097 | | |
1096 | 1098 | | |
1097 | | - | |
| 1099 | + | |
1098 | 1100 | | |
1099 | 1101 | | |
1100 | 1102 | | |
| |||
0 commit comments