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": "20210808180303-l3qg72k",
"Spec": "2",
"Type": "NodeDocument",
"Properties": {
"icon": "1f50d",
"id": "20210808180303-l3qg72k",
"title": "Advanced search",
"type": "doc",
"updated": "20261026182843"
},
"Children": [
{
"ID": "20260613193423-e3tpcuq",
"Type": "NodeHeading",
"HeadingLevel": 2,
"Properties": {
"id": "20260613193423-e3tpcuq",
"updated": "20261024161058"
},
"Children": [
{
"Type": "NodeText",
"Data": "Overview"
}
]
},
{
"ID": "20260613193423-ahdqtz9",
"Type": "NodeParagraph",
"Properties": {
"id": "20260613193423-ahdqtz9",
"updated": "20261024161058"
},
"Children": [
{
"Type": "NodeText",
"Data": "Global search finds content blocks in your workspace using keywords, query syntax, regular expressions, or SQL. Semantic search is also available after configuring a semantic index. Open search, choose a method, then enter your keywords or query. This chapter explains the available controls and how to configure indexing and search scope."
}
]
},
{
"ID": "20261009182324-t1r641c",
"Type": "NodeHeading",
"Properties": {
"id": "20261009182324-t1r641c",
"updated": "20261026182843"
},
"Children": [
{
"Type": "NodeText",
"Data": "Controls by search method"
}
],
"HeadingLevel": 2
},
{
"ID": "20261009182324-1ulhib3",
"Type": "NodeParagraph",
"Properties": {
"id": "20261009182324-1ulhib3",
"updated": "20261026182843"
},
"Children": [
{
"Type": "NodeText",
"Data": "Keyword and query syntax searches support block-type, notebook and document-path filters, including child documents, as well as sorting, grouping and replacement. Content-order sorting is available only when grouping by document. An exact block ID follows the same notebook, document-path, block-type, subtype and ignore filters. Multi-keyword searches in keyword mode match %, _ and backslashes literally. Grouping by document organizes only the current page and keeps the pagination unit of the selected search method; with block-based pagination, matches from one document can span several pages."
}
]
},
{
"ID": "20261009182324-49vls9t",
"Type": "NodeParagraph",
"Properties": {
"id": "20261009182324-49vls9t",
"updated": "20261009182324"
},
"Children": [
{
"Type": "NodeText",
"Data": "Regular expression search supports the same filters, grouping and replacement, plus type, creation-time and update-time sorting. Relevance sorting is unavailable; content-order sorting applies only within document groups."
}
]
},
{
"ID": "20261009182324-5ryxgkw",
"Type": "NodeParagraph",
"Properties": {
"id": "20261009182324-5ryxgkw",
"updated": "20261009182324"
},
"Children": [
{
"Type": "NodeText",
"Data": "SQL search uses the filters and result order written in the SQL statement. The panel's block-type and path filters, including the current-document scope and child-document option, do not apply. Replacement is unavailable. Grouping by document remains available; in grouped results, type, creation-time, update-time and content-order sorting remain available, but relevance sorting does not apply."
}
]
},
{
"ID": "20261010113646-apg2y00",
"Type": "NodeParagraph",
"Properties": {
"id": "20261010113646-apg2y00",
"updated": "20261010113646"
},
"Children": [
{
"Type": "NodeText",
"Data": "Desktop and mobile SQL search support pasted multiline statements and preserve comments. In SQL mode, press "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Enter"
},
{
"Type": "NodeText",
"Data": " to insert a newline. Keep the newline after a -- line comment so that the following statement is not treated as a comment. The search window requires complete block columns, such as SELECT b.* FROM blocks b; use the agent's sql.query for projections or aggregates."
}
]
},
{
"ID": "20261009182324-seagl6e",
"Type": "NodeParagraph",
"Properties": {
"id": "20261009182324-seagl6e",
"updated": "20261009182324"
},
"Children": [
{
"Type": "NodeText",
"Data": "Semantic search supports block-type, notebook and document-path filters, including child documents. Results follow semantic relevance; panel sorting, grouping and replacement are unavailable."
}
]
},
{
"ID": "20261009182324-87b7poz",
"Type": "NodeParagraph",
"Properties": {
"id": "20261009182324-87b7poz",
"updated": "20261009182324"
},
"Children": [
{
"Type": "NodeText",
"Data": "Controls that do not apply to the selected method are disabled with an explanatory tooltip. SQL and semantic search hide the replacement row while keeping its text and expanded state, which are restored when returning to a method that supports replacement. Saving and resetting query conditions remain available."
}
]
},
{
"ID": "20260929000700-l9atr7g",
"Type": "NodeHeading",
"Properties": {
"id": "20260929000700-l9atr7g",
"updated": "20261024164212"
},
"Children": [
{
"Type": "NodeText",
"Data": "Mind map search"
}
],
"HeadingLevel": 2
},
{
"ID": "20260929000700-fx8kb8s",
"Type": "NodeParagraph",
"Properties": {
"id": "20260929000700-fx8kb8s",
"updated": "20261024164212"
},
"Children": [
{
"Type": "NodeText",
"Data": "In "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Settings"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Search"
},
{
"Type": "NodeText",
"Data": ", enable Mind map block to find a whole mind map by its node text in block reference and embed suggestions. In global search, select Mind map block in Search type. Mind map item block can be enabled separately to find individual branches."
}
]
},
{
"ID": "20261024164212-hffoeea",
"Type": "NodeParagraph",
"Properties": {
"id": "20261024164212-hffoeea",
"updated": "20261024164212"
},
"Children": [
{
"Type": "NodeText",
"Data": "Mind map block is enabled by default; Mind map item block is disabled by default. Older search configurations inherit these options from the global search settings, while explicit choices are preserved."
}
]
},
{
"ID": "20260613193423-4fjlvrg",
"Type": "NodeHeading",
"HeadingLevel": 2,
"Properties": {
"id": "20260613193423-4fjlvrg",
"updated": "20261024163013"
},
"Children": [
{
"Type": "NodeText",
"Data": "Case Sensitivity"
}
]
},
{
"ID": "20260613193423-qw5e4r0",
"Type": "NodeParagraph",
"Properties": {
"id": "20260613193423-qw5e4r0",
"updated": "20261024163013"
},
"Children": [
{
"Type": "NodeText",
"Data": "Configurable in "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Settings"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Search"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Case Sensitive"
},
{
"Type": "NodeText",
"Data": ". Disabled by default, meaning searching "
},
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "Hello"
},
{
"Type": "NodeText",
"Data": " and "
},
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "hello"
},
{
"Type": "NodeText",
"Data": " returns the same results. When enabled, search strictly differentiates case. After toggling this option, you must wait for index rebuilding to complete before it takes effect."
}
]
},
{
"ID": "20260613193423-1oey891",
"Type": "NodeHeading",
"HeadingLevel": 2,
"Properties": {
"id": "20260613193423-1oey891",
"updated": "20261024163013"
},
"Children": [
{
"Type": "NodeText",
"Data": "Simplified/Traditional Sensitivity"
}
]
},
{
"ID": "20260613193423-f3tgfru",
"Type": "NodeParagraph",
"Properties": {
"id": "20260613193423-f3tgfru",
"updated": "20261024163013"
},
"Children": [
{
"Type": "NodeText",
"Data": "Configurable in "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Settings"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Search"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Distinguish Simplified/Traditional"
},
{
"Type": "NodeText",
"Data": ". Enabled by default, meaning searching \"经济\" will not match \"經濟\". When disabled, searching \"经济\" matches both \"经济\" and \"經濟\". After toggling this option, you must wait for index rebuilding to complete before it takes effect."
}
]
},
{
"ID": "20260613193423-ws0z1u9",
"Type": "NodeHeading",
"HeadingLevel": 2,
"Properties": {
"id": "20260613193423-ws0z1u9",
"updated": "20261024163828"
},
"Children": [
{
"Type": "NodeText",
"Data": "Replace"
}
]
},
{
"ID": "20260613193423-cq5kwkr",
"Type": "NodeParagraph",
"Properties": {
"id": "20260613193423-cq5kwkr",
"updated": "20260613193423"
},
"Children": [
{
"Type": "NodeText",
"Data": "The search dialog integrates a text replacement feature, allowing batch replacement of search results."
}
]
},
{
"ID": "20260613193423-6o0q64d",
"Type": "NodeList",
"ListData": {},
"Properties": {
"id": "20260613193423-6o0q64d",
"updated": "20261010225402"
},
"Children": [
{
"ID": "20260613193423-3lwdirc",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20260613193423-3lwdirc",
"updated": "20260809232000"
},
"Children": [
{
"ID": "20260613193423-8b9pf9i",
"Type": "NodeParagraph",
"Properties": {
"id": "20260613193423-8b9pf9i",
"updated": "20260809232000"
},
"Children": [
{
"Type": "NodeTextMark",
"TextMarkType": "strong",
"TextMarkTextContent": "Entry"
},
{
"Type": "NodeText",
"Data": ": Click the replace icon button in the search dialog ("
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Ctrl"
},
{
"Type": "NodeText",
"Data": "+"
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "P"
},
{
"Type": "NodeText",
"Data": ") to expand the replace input row"
}
]
}
]
},
{
"ID": "20260613193423-rzx5n7z",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20260613193423-rzx5n7z",
"updated": "20260613193423"
},
"Children": [
{
"ID": "20260613193423-dzmd0tb",
"Type": "NodeParagraph",
"Properties": {
"id": "20260613193423-dzmd0tb",
"updated": "20260613193423"
},
"Children": [
{
"Type": "NodeTextMark",
"TextMarkType": "strong",
"TextMarkTextContent": "Replace Operations"
},
{
"Type": "NodeText",
"Data": ":"
}
]
},
{
"ID": "20260613193423-5n4eflq",
"Type": "NodeList",
"ListData": {},
"Properties": {
"id": "20260613193423-5n4eflq",
"updated": "20260613193423"
},
"Children": [
{
"ID": "20260613193423-2jnykws",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20260613193423-2jnykws",
"updated": "20260613193423"
},
"Children": [
{
"ID": "20260613193423-d16yt1t",
"Type": "NodeParagraph",
"Properties": {
"id": "20260613193423-d16yt1t",
"updated": "20260613193423"
},
"Children": [
{
"Type": "NodeText",
"Data": "Select a record in the search result list and click \"↵ Replace\" to replace that individual entry"
}
]
}
]
},
{
"ID": "20260613193423-khlop5q",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20260613193423-khlop5q",
"updated": "20260613193423"
},
"Children": [
{
"ID": "20260613193423-tw68eeg",
"Type": "NodeParagraph",
"Properties": {
"id": "20260613193423-tw68eeg",
"updated": "20260613193423"
},
"Children": [
{
"Type": "NodeText",
"Data": "Click \"Replace All\" to replace all matches in the current search results at once"
}
]
}
]
}
]
}
]
},
{
"ID": "20260613193423-jtdrurt",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20260613193423-jtdrurt",
"updated": "20260613193423"
},
"Children": [
{
"ID": "20260613193423-6bvw8be",
"Type": "NodeParagraph",
"Properties": {
"id": "20260613193423-6bvw8be",
"updated": "20260613193423"
},
"Children": [
{
"Type": "NodeTextMark",
"TextMarkType": "strong",
"TextMarkTextContent": "Replace Types"
},
{
"Type": "NodeText",
"Data": ": Click the replace filter to select the replacement scope (content block text, name, alias, memo, etc.)"
}
]
}
]
},
{
"ID": "20260613193423-9tqsg45",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20260613193423-9tqsg45",
"updated": "20261010225402"
},
"Children": [
{
"ID": "20260613193423-0whdff2",
"Type": "NodeParagraph",
"Properties": {
"id": "20260613193423-0whdff2",
"updated": "20261010225402"
},
"Children": [
{
"Type": "NodeTextMark",
"TextMarkType": "strong",
"TextMarkTextContent": "Note"
},
{
"Type": "NodeText",
"Data": ": "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Ctrl"
},
{
"Type": "NodeText",
"Data": "+"
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Z"
},
{
"Type": "NodeText",
"Data": " undo is not supported after replacement. The system automatically generates file history before execution; use data history rollback to restore if needed"
},
{
"Type": "NodeText",
"Data": ". Ordinary and encrypted documents preserve edits made during replacement. If a document changes or is deleted before saving, replacement stops with an error and preserves the current document; documents already saved keep their replacement results. Finish editing before retrying"
}
]
}
]
}
]
},
{
"ID": "20240508004303-nqo982y",
"Type": "NodeParagraph",
"Properties": {
"id": "20240508004303-nqo982y",
"updated": "20240508004303"
},
"Children": [
{
"Type": "NodeTextMark",
"TextMarkType": "block-ref",
"TextMarkBlockRefID": "20220415232231-pqcizol",
"TextMarkBlockRefSubtype": "d",
"TextMarkTextContent": "Query syntax"
}
]
},
{
"ID": "20240508004303-cfhkbkf",
"Type": "NodeParagraph",
"Properties": {
"id": "20240508004303-cfhkbkf",
"updated": "20261024163828"
},
"Children": [
{
"Type": "NodeTextMark",
"TextMarkType": "block-ref",
"TextMarkBlockRefID": "20201222100339-i5hzcph",
"TextMarkBlockRefSubtype": "d",
"TextMarkTextContent": "SQL index tables"
}
]
},
{
"ID": "20240508004303-ybxo9fy",
"Type": "NodeParagraph",
"Properties": {
"id": "20240508004303-ybxo9fy",
"updated": "20240508004303"
},
"Children": [
{
"Type": "NodeTextMark",
"TextMarkType": "block-ref",
"TextMarkBlockRefID": "20201222100222-q47d64s",
"TextMarkBlockRefSubtype": "d",
"TextMarkTextContent": "Type filtering"
}
]
},
{
"ID": "20240508004303-is7baf3",
"Type": "NodeParagraph",
"Properties": {
"id": "20240508004303-is7baf3",
"updated": "20240508004303"
},
"Children": [
{
"Type": "NodeTextMark",
"TextMarkType": "block-ref",
"TextMarkBlockRefID": "20240119211017-1vbbt95",
"TextMarkBlockRefSubtype": "d",
"TextMarkTextContent": "Ignore indexing"
}
]
},
{
"ID": "20240508004303-axo1h8z",
"Type": "NodeParagraph",
"Properties": {
"id": "20240508004303-axo1h8z",
"updated": "20240508004303"
},
"Children": [
{
"Type": "NodeTextMark",
"TextMarkType": "block-ref",
"TextMarkBlockRefID": "20240119212048-0huuevw",
"TextMarkBlockRefSubtype": "d",
"TextMarkTextContent": "Ignore search"
}
]
}
]
}