Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

19.6 KB
Raw Blame
{
	"ID": "20240530101000-a91lmk2",
	"Spec": "2",
	"Type": "NodeDocument",
	"Properties": {
		"ID": "20240530101000-wwi39zr",
		"icon": "1f50d",
		"id": "20240530101000-a91lmk2",
		"title": "高度な検索",
		"type": "doc",
		"updated": "20261026182843"
	},
	"Children": [
		{
			"ID": "20260613193509-xedpmdl",
			"Type": "NodeHeading",
			"HeadingLevel": 2,
			"Properties": {
				"id": "20260613193509-xedpmdl",
				"updated": "20261024161058"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "概要"
				}
			]
		},
		{
			"ID": "20260613193509-ircy5x0",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20260613193509-ircy5x0",
				"updated": "20261024161058"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "グローバル検索では、キーワード、クエリ構文、正規表現、SQL を使ってワークスペース内のブロックを探せます。セマンティックインデックスを設定すると、セマンティック検索も利用できます。検索画面で方式を選び、キーワードや条件を入力してください。この章では、各方式の操作と、インデックスおよび検索範囲の設定を説明します。"
				}
			]
		},
		{
			"ID": "20261009182324-svc2r56",
			"Type": "NodeHeading",
			"Properties": {
				"id": "20261009182324-svc2r56",
				"updated": "20261026182843"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "検索方法ごとに利用できる操作"
				}
			],
			"HeadingLevel": 2
		},
		{
			"ID": "20261009182324-duyze6a",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20261009182324-duyze6a",
				"updated": "20261026182843"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "キーワード検索とクエリ構文検索では、ブロックタイプ、ノートブック、文書パス、子文書を含めるかどうかの絞り込みと、並べ替え、グループ化、置換を利用できます。本文の順序による並べ替えは、文書ごとにグループ化した場合のみ利用できます。ブロック ID を直接入力した場合も、ノートブック、文書パス、ブロックタイプ、サブタイプ、除外条件が適用されます。キーワード方式の複数語検索では、%、_、バックスラッシュを文字どおりに照合します。文書ごとのグループ化は現在のページの結果を整理するだけで、検索方式のページ分割単位は変わりません。ブロック単位でページ分割する場合、同じ文書の一致ブロックが複数ページに分かれることがあります。"
				}
			]
		},
		{
			"ID": "20261009182324-n7t8cwa",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20261009182324-n7t8cwa",
				"updated": "20261009182324"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "正規表現検索では、同じ絞り込み、グループ化、置換と、タイプ、作成日時、更新日時による並べ替えを利用できます。関連度による並べ替えは利用できません。本文の順序は文書グループ内の結果にのみ適用されます。"
				}
			]
		},
		{
			"ID": "20261009182324-k4vtj63",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20261009182324-k4vtj63",
				"updated": "20261009182324"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "SQL 検索では、SQL 文に記述した条件と順序を使用します。パネルのブロックタイプ、パス、現在の文書の範囲、子文書を含める設定は適用されず、置換も利用できません。文書ごとのグループ化は利用でき、グループ化後の結果はタイプ、作成日時、更新日時、本文の順序で並べ替えられますが、関連度では並べ替えられません。"
				}
			]
		},
		{
			"ID": "20261010113646-3gi11r9",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20261010113646-3gi11r9",
				"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-5i14ow7",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20261009182324-5i14ow7",
				"updated": "20261009182324"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "意味検索では、ブロックタイプ、ノートブック、文書パス、子文書を含めるかどうかの絞り込みを利用できます。結果は意味の関連度順に表示され、パネルの並べ替え、グループ化、置換は利用できません。"
				}
			]
		},
		{
			"ID": "20261009182324-imw0dl2",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20261009182324-imw0dl2",
				"updated": "20261009182324"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "現在の検索方法で利用できない操作は無効になり、説明が表示されます。SQL 検索と意味検索では置換入力行が非表示になりますが、入力内容と展開状態は保持され、置換を利用できる方法に戻すと再表示されます。検索条件の保存とリセットは引き続き利用できます。"
				}
			]
		},
		{
			"ID": "20260929000700-6p02njw",
			"Type": "NodeHeading",
			"Properties": {
				"id": "20260929000700-6p02njw",
				"updated": "20261024164212"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "マインドマップの検索"
				}
			],
			"HeadingLevel": 2
		},
		{
			"ID": "20260929000700-cqew1c9",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20260929000700-cqew1c9",
				"updated": "20261024164212"
			},
			"Children": [
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "設定"
				},
				{
					"Type": "NodeText",
					"Data": " - "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "検索"
				},
				{
					"Type": "NodeText",
					"Data": " で「マインドマップブロック」を有効にすると、ブロック参照と埋め込みブロックの候補検索で、ノードのテキストからマインドマップ全体を検索できます。グローバル検索では「検索タイプ」で「マインドマップブロック」を選択してください。"
				}
			]
		},
		{
			"ID": "20261024164212-uywtgpr",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20261024164212-uywtgpr",
				"updated": "20261024164212"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "「マインドマップ項目ブロック」を個別に有効にすると、各分岐も検索できます。既定ではマインドマップブロックは有効、マインドマップ項目ブロックは無効です。古い検索設定にこれらの項目がない場合は全体の検索設定を引き継ぎ、明示的に選択した状態は保持されます。"
				}
			]
		},
		{
			"ID": "20260613193509-avyxr38",
			"Type": "NodeHeading",
			"HeadingLevel": 2,
			"Properties": {
				"id": "20260613193509-avyxr38",
				"updated": "20261024163013"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "大文字/小文字の区別"
				}
			]
		},
		{
			"ID": "20260613193509-k9kj9ol",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20260613193509-k9kj9ol",
				"updated": "20261024163013"
			},
			"Children": [
				{
					"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": "20260613193509-eeostl9",
			"Type": "NodeHeading",
			"HeadingLevel": 2,
			"Properties": {
				"id": "20260613193509-eeostl9",
				"updated": "20261024163013"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "簡体字/繁体字の区別"
				}
			]
		},
		{
			"ID": "20260613193509-703emtd",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20260613193509-703emtd",
				"updated": "20261024163013"
			},
			"Children": [
				{
					"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": "20260613193509-byuidqn",
			"Type": "NodeHeading",
			"HeadingLevel": 2,
			"Properties": {
				"id": "20260613193509-byuidqn",
				"updated": "20261024163828"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "置換"
				}
			]
		},
		{
			"ID": "20260613193509-f05vi6z",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20260613193509-f05vi6z",
				"updated": "20260613193509"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "検索ダイアログにはテキスト置換機能が統合されており、検索結果の一括置換が可能です。"
				}
			]
		},
		{
			"ID": "20260613193509-i2in6rr",
			"Type": "NodeList",
			"ListData": {},
			"Properties": {
				"id": "20260613193509-i2in6rr",
				"updated": "20261010225402"
			},
			"Children": [
				{
					"ID": "20260613193509-01mcz0t",
					"Type": "NodeListItem",
					"ListData": {
						"BulletChar": 42,
						"Marker": "Kg=="
					},
					"Properties": {
						"id": "20260613193509-01mcz0t",
						"updated": "20260809232000"
					},
					"Children": [
						{
							"ID": "20260613193509-3a19rho",
							"Type": "NodeParagraph",
							"Properties": {
								"id": "20260613193509-3a19rho",
								"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": "20260613193509-iy4g4jw",
					"Type": "NodeListItem",
					"ListData": {
						"BulletChar": 42,
						"Marker": "Kg=="
					},
					"Properties": {
						"id": "20260613193509-iy4g4jw",
						"updated": "20260613193509"
					},
					"Children": [
						{
							"ID": "20260613193509-ukgmyq1",
							"Type": "NodeParagraph",
							"Properties": {
								"id": "20260613193509-ukgmyq1",
								"updated": "20260613193509"
							},
							"Children": [
								{
									"Type": "NodeTextMark",
									"TextMarkType": "strong",
									"TextMarkTextContent": "置換操作"
								},
								{
									"Type": "NodeText",
									"Data": ":"
								}
							]
						},
						{
							"ID": "20260613193509-5ssc4xe",
							"Type": "NodeList",
							"ListData": {},
							"Properties": {
								"id": "20260613193509-5ssc4xe",
								"updated": "20260613193509"
							},
							"Children": [
								{
									"ID": "20260613193509-4w8c0rk",
									"Type": "NodeListItem",
									"ListData": {
										"BulletChar": 42,
										"Marker": "Kg=="
									},
									"Properties": {
										"id": "20260613193509-4w8c0rk",
										"updated": "20260613193509"
									},
									"Children": [
										{
											"ID": "20260613193509-wderbmd",
											"Type": "NodeParagraph",
											"Properties": {
												"id": "20260613193509-wderbmd",
												"updated": "20260613193509"
											},
											"Children": [
												{
													"Type": "NodeText",
													"Data": "検索結果リストからレコードを選択し「↵ 置換」をクリックすると、その一件のみ置換"
												}
											]
										}
									]
								},
								{
									"ID": "20260613193509-ayr0q5u",
									"Type": "NodeListItem",
									"ListData": {
										"BulletChar": 42,
										"Marker": "Kg=="
									},
									"Properties": {
										"id": "20260613193509-ayr0q5u",
										"updated": "20260613193509"
									},
									"Children": [
										{
											"ID": "20260613193509-gb3x5qf",
											"Type": "NodeParagraph",
											"Properties": {
												"id": "20260613193509-gb3x5qf",
												"updated": "20260613193509"
											},
											"Children": [
												{
													"Type": "NodeText",
													"Data": "「すべて置換」をクリックすると、現在の検索結果のすべての一致項目を一括置換"
												}
											]
										}
									]
								}
							]
						}
					]
				},
				{
					"ID": "20260613193509-osc4f74",
					"Type": "NodeListItem",
					"ListData": {
						"BulletChar": 42,
						"Marker": "Kg=="
					},
					"Properties": {
						"id": "20260613193509-osc4f74",
						"updated": "20260613193509"
					},
					"Children": [
						{
							"ID": "20260613193509-ymtfly6",
							"Type": "NodeParagraph",
							"Properties": {
								"id": "20260613193509-ymtfly6",
								"updated": "20260613193509"
							},
							"Children": [
								{
									"Type": "NodeTextMark",
									"TextMarkType": "strong",
									"TextMarkTextContent": "置換タイプ"
								},
								{
									"Type": "NodeText",
									"Data": ":置換フィルターをクリックして置換範囲(コンテンツブロックテキスト、名前、エイリアス、メモなど)を選択"
								}
							]
						}
					]
				},
				{
					"ID": "20260613193509-xvgjid2",
					"Type": "NodeListItem",
					"ListData": {
						"BulletChar": 42,
						"Marker": "Kg=="
					},
					"Properties": {
						"id": "20260613193509-xvgjid2",
						"updated": "20261010225402"
					},
					"Children": [
						{
							"ID": "20260613193509-x2zxtbc",
							"Type": "NodeParagraph",
							"Properties": {
								"id": "20260613193509-x2zxtbc",
								"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": "20240530101000-lgs50ee",
			"Type": "NodeParagraph",
			"Properties": {
				"ID": "20240530101000-146ibor",
				"id": "20240530101000-lgs50ee",
				"updated": "20240530101000"
			},
			"Children": [
				{
					"Type": "NodeTextMark",
					"TextMarkType": "block-ref",
					"TextMarkBlockRefID": "20240530101000-vejnh1k",
					"TextMarkBlockRefSubtype": "d",
					"TextMarkTextContent": "クエリ構文"
				}
			]
		},
		{
			"ID": "20240530101000-8tt1kq0",
			"Type": "NodeParagraph",
			"Properties": {
				"ID": "20240530101000-chom53o",
				"id": "20240530101000-8tt1kq0",
				"updated": "20261024163828"
			},
			"Children": [
				{
					"Type": "NodeTextMark",
					"TextMarkType": "block-ref",
					"TextMarkBlockRefID": "20240530101000-58z6rjh",
					"TextMarkBlockRefSubtype": "d",
					"TextMarkTextContent": "SQL インデックステーブル"
				}
			]
		},
		{
			"ID": "20240530101000-szjzma8",
			"Type": "NodeParagraph",
			"Properties": {
				"ID": "20240530101000-d2ulwp1",
				"id": "20240530101000-szjzma8",
				"updated": "20240530101000"
			},
			"Children": [
				{
					"Type": "NodeTextMark",
					"TextMarkType": "block-ref",
					"TextMarkBlockRefID": "20240530101000-zj4k048",
					"TextMarkBlockRefSubtype": "d",
					"TextMarkTextContent": "種類によるフィルタリング"
				}
			]
		},
		{
			"ID": "20240530101000-4rmp52e",
			"Type": "NodeParagraph",
			"Properties": {
				"ID": "20240530101000-wpe4fbk",
				"id": "20240530101000-4rmp52e",
				"updated": "20240530101000"
			},
			"Children": [
				{
					"Type": "NodeTextMark",
					"TextMarkType": "block-ref",
					"TextMarkBlockRefID": "20240530101000-mrlr6e9",
					"TextMarkBlockRefSubtype": "d",
					"TextMarkTextContent": "インデックスから除外"
				}
			]
		},
		{
			"ID": "20240530101000-t1szv36",
			"Type": "NodeParagraph",
			"Properties": {
				"ID": "20240530101000-ib5z8wp",
				"id": "20240530101000-t1szv36",
				"updated": "20240530101000"
			},
			"Children": [
				{
					"Type": "NodeTextMark",
					"TextMarkType": "block-ref",
					"TextMarkBlockRefID": "20240530101000-h0cp5vx",
					"TextMarkBlockRefSubtype": "d",
					"TextMarkTextContent": "検索から除外"
				}
			]
		}
	]
}