An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
{
"ID": "20211226120933-vnjgwwh",
"Spec": "2",
"Type": "NodeDocument",
"Properties": {
"icon": "1f50d",
"id": "20211226120933-vnjgwwh",
"title": "搜索進階",
"type": "doc",
"updated": "20261026182843"
},
"Children": [
{
"ID": "20260613193945-kyzslnl",
"Type": "NodeHeading",
"HeadingLevel": 2,
"Properties": {
"id": "20260613193945-kyzslnl",
"updated": "20261024161058"
},
"Children": [
{
"Type": "NodeText",
"Data": "概述"
}
]
},
{
"ID": "20260613193945-ihvrl5l",
"Type": "NodeParagraph",
"Properties": {
"id": "20260613193945-ihvrl5l",
"updated": "20261024161058"
},
"Children": [
{
"Type": "NodeText",
"Data": "全域搜尋用於尋找工作空間中的內容區塊,支援關鍵字、查詢語法、正規表示式和 SQL;設定語意索引後,還可使用語意搜尋。開啟搜尋後,先選擇搜尋方式,再輸入關鍵字或查詢條件。本章介紹各方式的可用選項,以及索引和搜尋範圍的設定。"
}
]
},
{
"ID": "20261009182324-g42svwc",
"Type": "NodeHeading",
"Properties": {
"id": "20261009182324-g42svwc",
"updated": "20261026182843"
},
"Children": [
{
"Type": "NodeText",
"Data": "各搜尋方式的控制項範圍"
}
],
"HeadingLevel": 2
},
{
"ID": "20261009182324-g6i7omp",
"Type": "NodeParagraph",
"Properties": {
"id": "20261009182324-g6i7omp",
"updated": "20261026182843"
},
"Children": [
{
"Type": "NodeText",
"Data": "關鍵字與查詢語法搜尋支援區塊類型、筆記本和文件路徑篩選、包含子文件,以及排序、分組和取代。依內容順序排序僅在依文件分組時可用。直接輸入區塊 ID 時,同樣遵循筆記本、文件路徑、區塊類型、子類型和忽略條件。關鍵字模式的多詞搜尋會依字面量比對 %、_ 和反斜線。依文件分組只整理目前頁面的結果,不改變目前搜尋方式的分頁單位;依區塊分頁時,同一文件的命中區塊可能分布在多頁。"
}
]
},
{
"ID": "20261009182324-ugt9zh5",
"Type": "NodeParagraph",
"Properties": {
"id": "20261009182324-ugt9zh5",
"updated": "20261009182324"
},
"Children": [
{
"Type": "NodeText",
"Data": "正規表示式搜尋支援相同的篩選、分組和取代,以及依類型、建立時間和更新時間排序。不支援依相關度排序;依內容順序僅用於文件分組內的結果。"
}
]
},
{
"ID": "20261009182324-rfoi2nj",
"Type": "NodeParagraph",
"Properties": {
"id": "20261009182324-rfoi2nj",
"updated": "20261009182324"
},
"Children": [
{
"Type": "NodeText",
"Data": "SQL 搜尋使用語句中指定的篩選條件和結果順序。面板中的區塊類型、路徑篩選,包括目前文件範圍與包含子文件選項,不會生效,也不支援取代。仍可依文件分組;分組後可依類型、建立時間、更新時間與內容順序整理結果,但不支援依相關度排序。"
}
]
},
{
"ID": "20261010113646-lqqhbxx",
"Type": "NodeParagraph",
"Properties": {
"id": "20261010113646-lqqhbxx",
"updated": "20261010113646"
},
"Children": [
{
"Type": "NodeText",
"Data": "桌面端與行動端的 SQL 搜尋支援貼上多行語句並保留註解。SQL 模式下按 "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Enter"
},
{
"Type": "NodeText",
"Data": " 換行;請保留 -- 行註解後的換行,避免後續語句被視為註解。搜尋視窗需要完整區塊欄位,例如 SELECT b.* FROM blocks b;僅選取部分欄位或統計結果應交給智能體的 sql.query。"
}
]
},
{
"ID": "20261009182324-7v8lo26",
"Type": "NodeParagraph",
"Properties": {
"id": "20261009182324-7v8lo26",
"updated": "20261009182324"
},
"Children": [
{
"Type": "NodeText",
"Data": "語意搜尋支援區塊類型、筆記本和文件路徑篩選,以及包含子文件。結果依語意相關性排列,不支援面板中的排序、分組和取代。"
}
]
},
{
"ID": "20261009182324-vejc0gc",
"Type": "NodeParagraph",
"Properties": {
"id": "20261009182324-vejc0gc",
"updated": "20261009182324"
},
"Children": [
{
"Type": "NodeText",
"Data": "目前搜尋方式不支援的控制項會停用並顯示說明提示。SQL 與語意搜尋會隱藏取代輸入列,但保留已輸入文字和展開狀態,切回支援取代的方式時恢復顯示。儲存和重設查詢條件仍可使用。"
}
]
},
{
"ID": "20260929000700-1t67phl",
"Type": "NodeHeading",
"Properties": {
"id": "20260929000700-1t67phl",
"updated": "20260929000700"
},
"Children": [
{
"Type": "NodeText",
"Data": "心智圖搜尋"
}
],
"HeadingLevel": 2
},
{
"ID": "20260929000700-ba18qgo",
"Type": "NodeParagraph",
"Properties": {
"id": "20260929000700-ba18qgo",
"updated": "20260929000700"
},
"Children": [
{
"Type": "NodeText",
"Data": "在 "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "設定"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "搜尋"
},
{
"Type": "NodeText",
"Data": " 中啟用「心智圖區塊」,即可在區塊引用和嵌入區塊候選搜尋中透過節點文字找到整張心智圖。全域搜尋需在「搜尋類型」中勾選「心智圖區塊」。也可以單獨開啟「心智圖項目區塊」以搜尋各個分支。心智圖區塊預設開啟,心智圖項目區塊預設關閉。舊搜尋設定缺少這些選項時繼承全域搜尋設定,已明確選擇的開關狀態會保留。"
}
]
},
{
"ID": "20260613193945-7pjioog",
"Type": "NodeHeading",
"HeadingLevel": 2,
"Properties": {
"id": "20260613193945-7pjioog",
"updated": "20261024163013"
},
"Children": [
{
"Type": "NodeText",
"Data": "大小寫敏感"
}
]
},
{
"ID": "20260613193945-f8wb78d",
"Type": "NodeParagraph",
"Properties": {
"id": "20260613193945-f8wb78d",
"updated": "20261024163013"
},
"Children": [
{
"Type": "NodeText",
"Data": "可在 "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "設定"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "搜尋"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "區分大小寫"
},
{
"Type": "NodeText",
"Data": " 中設定。預設關閉,即搜尋 "
},
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "Hello"
},
{
"Type": "NodeText",
"Data": " 和 "
},
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "hello"
},
{
"Type": "NodeText",
"Data": " 結果相同。開啟後搜尋將嚴格區分大小寫。切換該選項後需等待索引重建完成方可生效。"
}
]
},
{
"ID": "20260613193945-pk2v0po",
"Type": "NodeHeading",
"HeadingLevel": 2,
"Properties": {
"id": "20260613193945-pk2v0po",
"updated": "20261024163828"
},
"Children": [
{
"Type": "NodeText",
"Data": "繁簡體敏感"
}
]
},
{
"ID": "20260613193945-sftcfdo",
"Type": "NodeParagraph",
"Properties": {
"id": "20260613193945-sftcfdo",
"updated": "20261024163828"
},
"Children": [
{
"Type": "NodeText",
"Data": "可在 "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "設定"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "搜尋"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "區分繁簡"
},
{
"Type": "NodeText",
"Data": " 中設定。預設開啟,搜尋「经济」不會匹配「經濟」。關閉後,搜尋「经济」會同時匹配「经济」與「經濟」。切換後需等待索引重建完成才會生效。"
}
]
},
{
"ID": "20260613193945-4wxkgoj",
"Type": "NodeHeading",
"HeadingLevel": 2,
"Properties": {
"id": "20260613193945-4wxkgoj",
"updated": "20261024163828"
},
"Children": [
{
"Type": "NodeText",
"Data": "替換"
}
]
},
{
"ID": "20260613193945-fkxigni",
"Type": "NodeParagraph",
"Properties": {
"id": "20260613193945-fkxigni",
"updated": "20260613193945"
},
"Children": [
{
"Type": "NodeText",
"Data": "搜尋對話框整合了文字替換功能,可對搜尋結果進行批量替換。"
}
]
},
{
"ID": "20260613193945-4hfyr20",
"Type": "NodeList",
"ListData": {},
"Properties": {
"id": "20260613193945-4hfyr20",
"updated": "20261010225402"
},
"Children": [
{
"ID": "20260613193945-0ha8zyc",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20260613193945-0ha8zyc",
"updated": "20260809232000"
},
"Children": [
{
"ID": "20260613193945-o4p9q8d",
"Type": "NodeParagraph",
"Properties": {
"id": "20260613193945-o4p9q8d",
"updated": "20260809232000"
},
"Children": [
{
"Type": "NodeTextMark",
"TextMarkType": "strong",
"TextMarkTextContent": "入口"
},
{
"Type": "NodeText",
"Data": ":在搜尋對話框("
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Ctrl"
},
{
"Type": "NodeText",
"Data": "+"
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "P"
},
{
"Type": "NodeText",
"Data": ")中點擊替換圖示按鈕,展開替換輸入行"
}
]
}
]
},
{
"ID": "20260613193945-hf84no5",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20260613193945-hf84no5",
"updated": "20260613193945"
},
"Children": [
{
"ID": "20260613193945-o6gybx0",
"Type": "NodeParagraph",
"Properties": {
"id": "20260613193945-o6gybx0",
"updated": "20260613193945"
},
"Children": [
{
"Type": "NodeTextMark",
"TextMarkType": "strong",
"TextMarkTextContent": "替換操作"
},
{
"Type": "NodeText",
"Data": ":"
}
]
},
{
"ID": "20260613193945-sru4bx1",
"Type": "NodeList",
"ListData": {},
"Properties": {
"id": "20260613193945-sru4bx1",
"updated": "20260613193945"
},
"Children": [
{
"ID": "20260613193945-gs7bi13",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20260613193945-gs7bi13",
"updated": "20260613193945"
},
"Children": [
{
"ID": "20260613193945-1t3u0c8",
"Type": "NodeParagraph",
"Properties": {
"id": "20260613193945-1t3u0c8",
"updated": "20260613193945"
},
"Children": [
{
"Type": "NodeText",
"Data": "在搜尋結果列表中選中一條記錄,點擊「↵ 替換」替換該條"
}
]
}
]
},
{
"ID": "20260613193945-671t1ed",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20260613193945-671t1ed",
"updated": "20260613193945"
},
"Children": [
{
"ID": "20260613193945-exv52e6",
"Type": "NodeParagraph",
"Properties": {
"id": "20260613193945-exv52e6",
"updated": "20260613193945"
},
"Children": [
{
"Type": "NodeText",
"Data": "點擊「全部替換」一次性替換當前搜尋結果中的所有匹配項"
}
]
}
]
}
]
}
]
},
{
"ID": "20260613193945-3m1fcdq",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20260613193945-3m1fcdq",
"updated": "20260613193945"
},
"Children": [
{
"ID": "20260613193945-wf0i28v",
"Type": "NodeParagraph",
"Properties": {
"id": "20260613193945-wf0i28v",
"updated": "20260730184353"
},
"Children": [
{
"Type": "NodeTextMark",
"TextMarkType": "strong",
"TextMarkTextContent": "替換類型"
},
{
"Type": "NodeText",
"Data": ":點擊替換過濾器可選擇替換範圍(內容區塊文字、命名、別名、備註等)"
}
]
}
]
},
{
"ID": "20260613193945-iabr67h",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20260613193945-iabr67h",
"updated": "20261010225402"
},
"Children": [
{
"ID": "20260613193945-a1m8biq",
"Type": "NodeParagraph",
"Properties": {
"id": "20260613193945-a1m8biq",
"updated": "20261010225402"
},
"Children": [
{
"Type": "NodeTextMark",
"TextMarkType": "strong",
"TextMarkTextContent": "注意事項"
},
{
"Type": "NodeText",
"Data": ":替換後不支援 "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Ctrl"
},
{
"Type": "NodeText",
"Data": "+"
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Z"
},
{
"Type": "NodeText",
"Data": " 撤銷,執行前系統會自動生成資料歷史,如需恢復請通過資料歷史回滾"
},
{
"Type": "NodeText",
"Data": "。一般和加密文件都會保留替換期間的編輯。儲存前文件發生修改或被刪除時,替換會停止並報錯,保留該文件的目前內容;先前已儲存的文件仍保留替換結果。完成編輯後可重新執行替換"
}
]
}
]
}
]
},
{
"ID": "20240508002838-b2inby3",
"Type": "NodeParagraph",
"Properties": {
"id": "20240508002838-b2inby3",
"updated": "20240508002838"
},
"Children": [
{
"Type": "NodeTextMark",
"TextMarkType": "block-ref",
"TextMarkBlockRefID": "20220415232129-shpzg6r",
"TextMarkBlockRefSubtype": "d",
"TextMarkTextContent": "查詢語法"
}
]
},
{
"ID": "20240508002838-mfvpbim",
"Type": "NodeParagraph",
"Properties": {
"id": "20240508002838-mfvpbim",
"updated": "20261024163828"
},
"Children": [
{
"Type": "NodeTextMark",
"TextMarkType": "block-ref",
"TextMarkBlockRefID": "20211226121808-fnxmngk",
"TextMarkBlockRefSubtype": "d",
"TextMarkTextContent": "SQL 索引資料表"
}
]
},
{
"ID": "20240508002838-uuy698x",
"Type": "NodeParagraph",
"Properties": {
"id": "20240508002838-uuy698x",
"updated": "20240508002838"
},
"Children": [
{
"Type": "NodeTextMark",
"TextMarkType": "block-ref",
"TextMarkBlockRefID": "20211226121322-9argcys",
"TextMarkBlockRefSubtype": "d",
"TextMarkTextContent": "類型過濾"
}
]
},
{
"ID": "20240508002838-ocrviez",
"Type": "NodeParagraph",
"Properties": {
"id": "20240508002838-ocrviez",
"updated": "20240508002838"
},
"Children": [
{
"Type": "NodeTextMark",
"TextMarkType": "block-ref",
"TextMarkBlockRefID": "20240119210914-a2tm8c4",
"TextMarkBlockRefSubtype": "d",
"TextMarkTextContent": "忽略索引"
}
]
},
{
"ID": "20240508002838-c82g88v",
"Type": "NodeParagraph",
"Properties": {
"id": "20240508002838-c82g88v",
"updated": "20240508002838"
},
"Children": [
{
"Type": "NodeTextMark",
"TextMarkType": "block-ref",
"TextMarkBlockRefID": "20240119212000-qkldbjm",
"TextMarkBlockRefSubtype": "d",
"TextMarkTextContent": "忽略搜尋"
}
]
}
]
}