From 7bcbed8c3547e55287972bd0bccc7c9e9d8ec495 Mon Sep 17 00:00:00 2001
From: ai_xiaopei <xiaopei@aisim.cn>
Date: Fri, 21 Aug 2026 19:14:11 +0800
Subject: [PATCH] feat(index): nodes 表增加 node_type 列,查询过滤虚拟节点

---
 internal/graph/model.go |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/internal/graph/model.go b/internal/graph/model.go
index 0702912..bcad193 100644
--- a/internal/graph/model.go
+++ b/internal/graph/model.go
@@ -6,6 +6,7 @@
 	Path      string   `json:"path"`
 	Title     string   `json:"title"`
 	Section   string   `json:"section"`
+	NodeType  string   `json:"node_type"` // "file" | "tag" | "entity"
 	Tags      []string `json:"tags"`
 	Entities  []string `json:"entities"`
 	Wikilinks []string `json:"wikilinks"`

--
Gitblit v1.10.0