xiaoyifang
8b88ea544e
opt: add fullindex position ( #916 )
...
* opt: enable fulltext with position info
* opt: add fulltext position support
* 🎨 apply clang-format changes
* i18n: update translation entries
* opt: default enablePosition=false
* opt: fulltext search highlight
---------
Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
2023-07-01 22:39:43 +08:00
xiaoyifang
dfd3a86c7f
fix: fulltext remove query word size check ( #845 )
...
* fix: fulltext remove query word size check
* fix: remove unused methods
* 🎨 apply clang-format changes
---------
Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
2023-06-10 21:02:22 +08:00
xiaoyifang
5899aa7c94
fix: highlight fts search result ( #792 )
...
* fix: highlight fts search result
* 🎨 apply clang-format changes
* remove accent/diacritic handler used in fts search
* header file adjustment
* fix: qt5.15 compile
* fix: code smell
use const reference variable
* fix: code smell
* fix: code smell
* fix: code smell
* fix: code smell
* 🎨 apply clang-format changes
* fix: code smells
🎨 apply clang-format changes
* opt: fix code smells
remove unused parameters from function `ftsIndexIsOldOrBad`
🎨 apply clang-format changes
---------
Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
2023-06-03 08:29:19 +08:00
xiaoyifang
4147770f85
Opt: ftshelper refactor ( #760 )
...
* opt: remove useless ftshelper methods
🎨 apply clang-format changes
opt: slob use xapian as fulltext engine
🎨 apply clang-format changes
opt: refactor ftshelper
🎨 apply clang-format changes
* opt: refactor ftshelper
remove unused variabes and functions.
* 🎨 apply clang-format changes
* opt: refactor ftshelper
remove unused variabes and functions.
* opt: refactor ftshelper
remove unused variabes and functions.
🎨 apply clang-format changes
---------
Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
2023-05-31 07:42:31 +08:00
YiFang Xiao
15e0fa087f
opt: replace Mutex::Lock with QMutexLocker
2023-05-30 00:08:01 +08:00
xiaoyifang
4eb8374a35
opt: mdx fulltext lock seperated with normal search ( #759 )
...
* opt: refactor mdx fullindex creation
* opt: incremental fulltext creation logic change
* opt: incremental fulltext creation logic change
* opt: progress of fulltext creation logic
* opt: code smell
* fix: code smell
* fix: code smell
* fix: code smell
* fix: code smell
* fix: code smell
* 🎨 apply clang-format changes
* fix: code smell
* fix: code smell
---------
Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
2023-05-29 00:01:21 +08:00
xiaoyifang
d174dc16ba
opt:remove non-xapian fulltext creation logic ( #643 )
...
* opt!:remove non-xapian fulltext creation logic
BREAKING CHANGE: after this PR, xapian package will have to installed
before the compilation. on Linux, this should be libxapian-dev package.
For common users: all created fulltext which is not created by xapian
before will be recreated using the new
engine.
* fix: remove old fulltext search ui
* 🎨 apply clang-format changes
---------
Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
2023-05-17 22:29:56 +08:00
Xiao YiFang
b68a70caa6
refactor wstring toWString
...
ref #506
2023-04-24 15:55:24 +08:00
Xiao YiFang
c2f856c074
opt: Sorting through the use of strings
...
there are many string conversion in the system .some of them can be avoided .
2023-04-24 15:11:40 +08:00
shenleban tongying
03af31c6fc
refactor: move common/base/utils into /src/common/
2023-04-17 20:41:47 -04:00
shenleban tongying
129345613e
refactor: Move all .cc/.hh files to src/
2023-04-17 17:17:36 -04:00