-
列表块“一炮三响”问题现状和改进提议
2021-10-14 23:17例如类似 select * from blocks where content like "%foo%" and depth = "0" 直接匹配 到叶子块
然后 select * from blocks where content like "%foo%" and depth = "1" 匹配只有一层子块的容器块
建表的时候文件结构应该已经遍历过了 所以加上深度字段应该不会消耗太多的资源吧
类似的也可以加上 宽度字段 应该也可以增强检索能力 这个不用管爷爷辈的只管有多少个子块可能会更好弄一点? -
列表块“一炮三响”问题现状和改进提议
2021-10-14 23:06容器块增加一个深度字段不知道能不能解决问题 但是我也不知道这个好不好加 ......
这样通过 sql 查询的时候能够直接指定深度或者通过深度排序截断过滤不需要的结果
-
怎么写一个模板,这个模板能筛选出创建当日修改的引述块,通过 sql?
2021-09-29 22:54之前那个搞错了 只判断了一半
{{select * from blocks where updated > '.action{now | date "2006010200000000"}' and updated < '.action{now |date_modify "+24h" | date "2006010200000000"}' and type = 'b' ORDER by updated desc limit 100}}
-
怎么写一个模板,这个模板能筛选出创建当日修改的引述块,通过 sql?
2021-09-29 22:45{{select * from blocks where updated > strftime('%Y%m%d%H%M%S',datetime('now','start of day')) and type = 'b' ORDER by updated desc limit 100}}
-
怎么写一个模板,这个模板能筛选出创建当日修改的引述块,通过 sql?
2021-09-29 22:43{{select * from blocks where updated > '.action{now | date "2006010200000000"}' and type = 'b' ORDER by updated desc limit 100}}
-
思源 1.2.5 alpha1 文件树右键移动时的性能问题
2021-08-10 13:30不小心正文没写东西就提交了
1.2.5 alpha1 中,可能是因为每次在文档树右键移动时需要列出所有文档,所以当文档数量过大时,相比之前的版本,需要相对长很多的时间才能看到文档列表.
目前我的文档数量(含原本文件夹在新版中自动新建的文档)为 5500 多个,每次文件树右键移动时需要等待大约半分钟才能看到文档列表然后才能完成移动,这里的搜索性能不知道有没有改善空间.
-
思源笔记 1.2.2 alpha1 使用 Web Clipper Beta 剪藏可能造成思源软件界面卡死
2021-07-23 11:49另外尝试通过导入的方式在同一笔记本位置新建同样内容的文档,开启文档时,不会造成界面卡死
-
思源笔记 1.2.2 alpha1 使用 Web Clipper Beta 剪藏可能造成思源软件界面卡死
2021-07-23 11:44/ ___| (_) \ \ / / _ _ __ _ _ __ \___ \ | | \ V / | | | | / _` | | '_ ___) | | | | | | |_| | | (_| | | | | | |____/ |_| |_| \__,_| \__,_| |_| |_| I 2021/07/23 11:35:07 working.go:94: kernel is booting: * ver [1.2.2-alpha1] * runtime mode [prod] * workspace directory [E:\思源笔记] * working directory [C:\Program Files\SiYuan\resources] * temp directory [C:\Users\DONGDO~1\AppData\Local\Temp\siyuan] * system temp directory [C:\WINDOWS\Temp\siyuan] * rsync directory [C:\WINDOWS\Temp\siyuan\rsync] * read only [false] * container [std] * resident [true] * arch [amd64] I 2021/07/23 11:35:07 conf.go:223: local serve path [http://192.168.0.8:6806] I 2021/07/23 11:35:08 database.go:98: reinitialized database [C:\Users\DONGDO~1\AppData\Local\Temp\siyuan\siyuan.db] I 2021/07/23 11:35:08 serve.go:51: kernel HTTP server is booting [http://0.0.0.0:6806] I 2021/07/23 11:35:12 box.go:540: rebuilding database of box [主笔记本] I 2021/07/23 11:35:44 box.go:544: rebuilt database of box [主笔记本] I 2021/07/23 11:35:44 box.go:540: rebuilding database of box [思源笔记用户指南] I 2021/07/23 11:35:44 box.go:544: rebuilt database of box [思源笔记用户指南] I 2021/07/23 11:35:45 working.go:119: kernel booted E 2021/07/23 11:37:14 file.go:1256: create file node [./] failed I 2021/07/23 11:37:17 sync.go:79: sync uploading... I 2021/07/23 11:37:21 sync.go:98: sync uploaded I 2021/07/23 11:37:37 working.go:310: port [6806] is opened, try to check version of running kernel I 2021/07/23 11:37:37 working.go:320: version of the running kernel is the same as this boot [1.2.2-alpha1], exit this boot I 2021/07/23 11:37:52 working.go:310: port [6806] is opened, try to check version of running kernel I 2021/07/23 11:37:52 working.go:320: version of the running kernel is the same as this boot [1.2.2-alpha1], exit this boot I 2021/07/23 11:38:01 box.go:540: rebuilding database of box [主笔记本] I 2021/07/23 11:38:34 box.go:544: rebuilt database of box [主笔记本] I 2021/07/23 11:38:34 box.go:540: rebuilding database of box [思源笔记用户指南] I 2021/07/23 11:38:35 box.go:544: rebuilt database of box [思源笔记用户指南] I 2021/07/23 11:40:15 box.go:540: rebuilding database of box [主笔记本] I 2021/07/23 11:40:48 box.go:544: rebuilt database of box [主笔记本] I 2021/07/23 11:40:48 box.go:540: rebuilding database of box [思源笔记用户指南] I 2021/07/23 11:40:48 box.go:544: rebuilt database of box [思源笔记用户指南]
-
思源支持外链的提议
2021-06-13 00:48思源笔记支持 file 协议,例如本地文件路径是
C:\Users\****\Documents\202106
的话,使用file://C:/users/****/Documents/202106
的链接格式就能够外链了.