Skip to content

Commit

Permalink
Improve user guide ignore search chapter fix siyuan-note#12032
Browse files Browse the repository at this point in the history
  • Loading branch information
TCOTC committed Sep 30, 2024
1 parent 4ef5d90 commit d87d5e5
Show file tree
Hide file tree
Showing 9 changed files with 639 additions and 52 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"Properties": {
"id": "20240119211017-1vbbt95",
"title": "Ignore indexing",
"updated": "20240202105426"
"type": "doc",
"updated": "20241001011235"
},
"Children": [
{
Expand Down Expand Up @@ -43,7 +44,7 @@
"HeadingLevel": 2,
"Properties": {
"id": "20240119211037-cjq7aer",
"updated": "20240119211121"
"updated": "20241001011235"
},
"Children": [
{
Expand Down Expand Up @@ -75,6 +76,32 @@
}
]
},
{
"ID": "20241001010953-34lxthr",
"Type": "NodeCodeBlock",
"IsFencedCodeBlock": true,
"Properties": {
"id": "20241001010953-34lxthr",
"updated": "20241001010953"
},
"Children": [
{
"Type": "NodeCodeBlockFenceOpenMarker",
"Data": "```"
},
{
"Type": "NodeCodeBlockFenceInfoMarker"
},
{
"Type": "NodeCodeBlockCode",
"Data": "20210808180117-6v0mkxr/20200923234011-ieuun1p.sy\n20210808180117-6v0mkxr/**/*\n"
},
{
"Type": "NodeCodeBlockFenceCloseMarker",
"Data": "```"
}
]
},
{
"ID": "20240119211037-putkxu9",
"Type": "NodeList",
Expand Down Expand Up @@ -165,12 +192,12 @@
"Type": "NodeParagraph",
"Properties": {
"id": "20240202105425-d8fq0vu",
"updated": "20240202105426"
"updated": "20241001011235"
},
"Children": [
{
"Type": "NodeText",
"Data": "After the adjustment, you need to manually rebuild the index."
"Data": "You need to manually rebuild the index after modifying the configuration file."
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"Properties": {
"id": "20240119212048-0huuevw",
"title": "Ignore search",
"updated": "20240202105500"
"type": "doc",
"updated": "20241001011905"
},
"Children": [
{
Expand Down Expand Up @@ -43,7 +44,7 @@
"HeadingLevel": 2,
"Properties": {
"id": "20240119212104-9fehl3c",
"updated": "20240119212108"
"updated": "20241001011905"
},
"Children": [
{
Expand Down Expand Up @@ -171,7 +172,7 @@
"IsFencedCodeBlock": true,
"Properties": {
"id": "20240119212104-tepuwbm",
"updated": "20240119212108"
"updated": "20241001011008"
},
"Children": [
{
Expand All @@ -183,14 +184,136 @@
},
{
"Type": "NodeCodeBlockCode",
"Data": "path NOT LIKE '/20210808180117-6v0mkxr%'\nid != '20200923234011-ieuun1p'\n"
"Data": "path NOT LIKE '/20210808180117-6v0mkxr%'\nbox != '20210808180117-czj9bvb'\nid != '20200923234011-ieuun1p'"
},
{
"Type": "NodeCodeBlockFenceCloseMarker",
"Data": "```"
}
]
},
{
"ID": "20241001011027-qi6o51q",
"Type": "NodeList",
"ListData": {},
"Properties": {
"id": "20241001011027-qi6o51q",
"updated": "20241001011905"
},
"Children": [
{
"ID": "20241001011027-2kgpqv7",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20241001011027-2kgpqv7",
"updated": "20241001011838"
},
"Children": [
{
"ID": "20241001011027-rc5tn93",
"Type": "NodeParagraph",
"Properties": {
"id": "20241001011027-rc5tn93",
"updated": "20241001011838"
},
"Children": [
{
"Type": "NodeText",
"Data": "​"
},
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "path NOT LIKE '/20210808180117-6v0mkxr%'"
},
{
"Type": "NodeText",
"Data": "​: Ignore content block searches where the document path begins with ​/20210808180117-6v0mkxr"
}
]
}
]
},
{
"ID": "20241001011027-jsngmc7",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20241001011027-jsngmc7",
"updated": "20241001011854"
},
"Children": [
{
"ID": "20241001011027-tn2cjwl",
"Type": "NodeParagraph",
"Properties": {
"id": "20241001011027-tn2cjwl",
"updated": "20241001011854"
},
"Children": [
{
"Type": "NodeText",
"Data": "​"
},
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "box != '20210808180117-czj9bvb'"
},
{
"Type": "NodeText",
"Data": "​: Ignore content block searches under the notebook data/20210808180117-czj9bvb"
}
]
}
]
},
{
"ID": "20241001011027-02lmjzy",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20241001011027-02lmjzy",
"updated": "20241001011905"
},
"Children": [
{
"ID": "20241001011027-qsadi2j",
"Type": "NodeParagraph",
"Properties": {
"id": "20241001011027-qsadi2j",
"updated": "20241001011905"
},
"Children": [
{
"Type": "NodeText",
"Data": "​"
},
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "id != '20200923234011-ieuun1p'"
},
{
"Type": "NodeText",
"Data": "​: Ignore content block searches with id ​20200923234011-ieuun1p"
}
]
}
]
}
]
},
{
"ID": "20240202105459-q4d3ttn",
"Type": "NodeParagraph",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"Properties": {
"id": "20240119205452-o8xp4ve",
"title": "忽略索引",
"updated": "20240202105353"
"type": "doc",
"updated": "20241001010441"
},
"Children": [
{
Expand Down Expand Up @@ -43,7 +44,7 @@
"HeadingLevel": 2,
"Properties": {
"id": "20240119205942-35rq58s",
"updated": "20240119210019"
"updated": "20241001010441"
},
"Children": [
{
Expand Down Expand Up @@ -75,6 +76,32 @@
}
]
},
{
"ID": "20240930233109-sv59af0",
"Type": "NodeCodeBlock",
"IsFencedCodeBlock": true,
"Properties": {
"id": "20240930233109-sv59af0",
"updated": "20240930233133"
},
"Children": [
{
"Type": "NodeCodeBlockFenceOpenMarker",
"Data": "```"
},
{
"Type": "NodeCodeBlockFenceInfoMarker"
},
{
"Type": "NodeCodeBlockCode",
"Data": "20210808180117-6v0mkxr/20200923234011-ieuun1p.sy\n20210808180117-6v0mkxr/**/*\n"
},
{
"Type": "NodeCodeBlockFenceCloseMarker",
"Data": "```"
}
]
},
{
"ID": "20240119210347-nq9fqio",
"Type": "NodeList",
Expand Down Expand Up @@ -165,12 +192,12 @@
"Type": "NodeParagraph",
"Properties": {
"id": "20240202105353-qaj8ahd",
"updated": "20240202105353"
"updated": "20241001010441"
},
"Children": [
{
"Type": "NodeText",
"Data": "调整完以后需要手动重建索引。"
"Data": "配置文件修改保存后需要手动重建索引。"
}
]
}
Expand Down
Loading

0 comments on commit d87d5e5

Please sign in to comment.