diff --git a/docs/appendix.md b/docs/appendix.md index 079740c..4bdcea2 100644 --- a/docs/appendix.md +++ b/docs/appendix.md @@ -71,6 +71,7 @@ Diese sind die Felder, die effektiv in Qdrant gespeichert werden. { "chunk_id": "string (keyword)", // Format: {note_id}#c{index} "note_id": "string (keyword)", // FK zur Note + "type": "string (keyword)", // Typ-Kopie aus Note (Neu in WP06a) "text": "string (text)", // Reintext für Anzeige (ohne Overlap) "window": "string (text)", // Text + Overlap (für Embedding) "ord": "integer", // Laufende Nummer (1..N) diff --git a/docs/mindnet_technical_architecture.md b/docs/mindnet_technical_architecture.md index 3fb41da..b913eac 100644 --- a/docs/mindnet_technical_architecture.md +++ b/docs/mindnet_technical_architecture.md @@ -134,6 +134,7 @@ Die atomaren Sucheinheiten. | :--- | :--- | :--- | | `chunk_id` | Keyword | Deterministisch: `{note_id}#c{index:02d}`. | | `note_id` | Keyword | Referenz zur Note. | + | `type` | Keyword | **Kopie des Note-Typs** (Denormalisiert für Filter). | | `text` | Text | **Reiner Inhalt** (ohne Overlap). Anzeige-Text. | | `window` | Text | **Kontext-Fenster** (mit Overlap). Embedding-Basis. | | `ord` | Integer | Sortierreihenfolge (1..N). | @@ -336,7 +337,7 @@ Damit Qdrant performant bleibt, sind Payload-Indizes essenziell. **Erforderliche Indizes:** * **Notes:** `note_id`, `type`, `tags`. -* **Chunks:** `note_id`, `chunk_id`. +* **Chunks:** `note_id`, `chunk_id`, `type`. * **Edges:** `source_id`, `target_id`, `kind`, `scope`, `note_id`. Validierung erfolgt über `tests/ensure_indexes_and_show.py`.