alist/cmd
BoYanZh 179d285564
feat: optimize database search (#2687)
* feat: remove index on `SearchNode.Name`

As we do not use s% on name column, index there does not work

* fix: init index after init data

Or on the first run, it will log 'init index error: readObjectStart: expect { or n, but found , error found in #0 byte of ...||..., bigger context ...||...'

* fix: match parent more precisely

It will match `/a/bc` if we search in `/a/b` originally.
But it is not backward compatible by adding a suffix `/`
to all the data in parent field
2022-12-12 20:20:01 +08:00
..
flags feat!: force to use the bin dir as the data dir (close #2108) 2022-11-01 19:16:23 +08:00
admin.go feat: add show admin's username 2022-09-10 16:39:08 +08:00
cancel2FA.go fix: use `utils.Log` in some places 2022-08-30 16:13:01 +08:00
common.go feat: optimize database search (#2687) 2022-12-12 20:20:01 +08:00
lang.go fix(ci): sort lang json file 2022-12-05 14:40:46 +08:00
restart.go feat: silent start, stop and restart 2022-11-11 18:42:06 +08:00
root.go feat!: force to use the bin dir as the data dir (close #2108) 2022-11-01 19:16:23 +08:00
server.go feat: add support for mega.nz (close 1553) 2022-10-08 22:16:41 +08:00
start.go feat: silent start, stop and restart 2022-11-11 18:42:06 +08:00
stop.go feat: silent start, stop and restart 2022-11-11 18:42:06 +08:00
version.go chore: fix drivers not import 2022-08-07 13:23:15 +08:00