BoYanZh
b3be9ef428
feat(search): use `FULLTEXT` index ( close #2716 pr #2726 )
2022-12-16 16:51:36 +08:00
BoYanZh
cdc45630ae
fix: `whereInParent` when parent = "/" ( #2706 )
2022-12-14 10:37:09 +08:00
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
BoYanZh
1640f06e13
feat(search): multiple keywords split by space ( #2669 )
2022-12-10 19:28:34 +08:00
Noah Hsu
f1a9b68022
fix(index): update indexes in database
2022-12-05 20:23:37 +08:00
BoYanZh
8c0dfe2f3d
feat: Search enhancement ( #2562 )
...
* feat: ignore AList storage on indexing
* fix: remove unused err in `walkFn`
* chore(ci): fix auto_lang trigger and run it
* feat: batch index
* feat: quit index & init index
* feat: set DocType for bleve data
* fix: build index cleanup check origin err
2022-12-05 13:28:39 +08:00
Noah Hsu
76f37373e0
fix: settings map read and write concurrently
2022-11-28 16:54:03 +08:00
Noah Hsu
ddcba93eea
feat: multiple search indexes ( #2514 )
...
* refactor: abstract search interface
* wip: ~
* fix cycle import
* objs update hook
* wip: ~
* Delete search/none
* auto update index while cache changed
* db searcher
TODO: bleve init issue
cannot open index, metadata missing
* fix size type
why float64??
* fix typo
* fix nil pointer using
* api adapt ui
* bleve: fix clear & change struct
2022-11-28 13:45:25 +08:00
Noah Hsu
c09800790b
feat: custom filename char mapping
...
fixes #2447 #2446 #2440 #2409 #2006 #1979 #1507 #324 #691 #518 #430
2022-11-22 15:54:18 +08:00
Noah Hsu
d329df70f3
fix: failed create record if use mysql ( close #1690 )
2022-09-16 22:21:43 +08:00
Noah Hsu
86a625cb40
fix: set `CHARSET` to `utf8mb4` if use mysql
2022-09-15 17:14:03 +08:00
Noah Hsu
63569be41d
fix: wrong columnName index
2022-09-09 16:44:54 +08:00
Noah Hsu
7ac1d14eeb
style: shorten name `operations` to `op`
2022-08-31 21:01:15 +08:00
Noah Hsu
d9ee174dd3
feat!: unity iframe preview
2022-08-23 16:50:54 +08:00
Noah Hsu
0fdfd1f2c2
feat: load storages while starting
2022-08-11 21:32:33 +08:00
Noah Hsu
2b04cf4ac3
feat: custom hide error message by regexp ( close #1468 )
2022-08-08 12:53:53 +08:00
Noah Hsu
61fa6f38a8
feat: add type to fs read api
2022-08-08 00:51:05 +08:00
Noah Hsu
2b5da3ef34
feat: cancel 2fa api
2022-08-07 11:59:33 +08:00
Noah Hsu
b51e664543
chore: go fmt
2022-08-03 14:26:59 +08:00
Noah Hsu
184b9d1e6c
feat: get storage by id api
2022-07-18 23:02:14 +08:00
Noah Hsu
e08810a12f
chore: fix test typo
2022-07-18 14:52:34 +08:00
Noah Hsu
fbc858b43c
chore: optimize get settings
2022-07-12 14:03:03 +08:00
Noah Hsu
3691ee5861
chore: use variable
2022-07-11 22:22:30 +08:00
Noah Hsu
fc1204c914
chore: rename account to storage
2022-07-10 14:45:39 +08:00
Noah Hsu
fb23758d12
fix: empty public settings
2022-07-02 16:12:30 +08:00
Noah Hsu
5dbf5db4ff
feat: token and reset
2022-06-28 14:18:10 +08:00
Noah Hsu
f01a81ee9c
chore: settings util
2022-06-27 17:25:19 +08:00
Noah Hsu
005ded41c3
feat: settings manage api
2022-06-27 17:06:10 +08:00
Noah Hsu
1a148eee7c
feat: initial setting items
2022-06-27 15:51:02 +08:00
Noah Hsu
e4c3ef0262
feat: setting model
2022-06-27 14:51:48 +08:00
Noah Hsu
e71aff9d94
chore: keep guest in memory
2022-06-27 14:29:36 +08:00
Noah Hsu
cab498e376
feat: user manage api
2022-06-26 19:36:27 +08:00
Noah Hsu
acd4083399
chore: ignore password for get current user
2022-06-26 16:55:37 +08:00
Noah Hsu
54ca68e4b3
chore: init users
2022-06-25 22:05:02 +08:00
Noah Hsu
b474eefd87
chore: rename store to db
2022-06-25 21:36:35 +08:00