Commit Graph

209 Commits

Author SHA1 Message Date
iaom c6322feb77 增加unmount信号监听处理 2022-12-23 15:41:57 +08:00
iaom 77395a8627 修复反复开关索引导致的索引异常问题(偶现打开索引失败) 2022-12-21 07:05:49 +00:00
iaom 3af1582eb1 增加了一个用于调试的索引状态监控页面,可通过'ukui-search-service -m'打开. 2022-12-12 08:37:37 +08:00
iaom 37ab793367 解决添加和删除索引目录异常的问题 2022-12-08 17:41:55 +08:00
JunjieBai 6b06460e79 Add a switch for fuzzy search.
Add the logic to custom the search scope.

Modify the ui of search plugin of ukcc.
2022-12-07 17:52:17 +08:00
iaom 15c4331da8 解决首次索引后,重启后无法搜索部分文件的问题 2022-12-05 08:46:38 +00:00
iaom 495669c057 增加索引数据库版本号机制,版本号升级时将重建数据库 2022-12-02 07:23:22 +00:00
iaom 83f1b904ad 解决文件内容搜索详情页获取数据时偶现的崩溃问题 2022-11-30 16:19:18 +08:00
iaom 134d2039ec 增加文件内容模糊搜索功能,优化全局设置代码 2022-11-29 14:05:16 +08:00
iaom 3d8cebba41 优化文件索引操作 2022-11-25 17:32:15 +08:00
iaom 51eb1798e2 修复内容搜索详情页加载图片失败导致的崩溃问题。 2022-11-17 11:38:01 +08:00
jixiaoxu 2b01ee0e80 修复QSqlDatabasePrivate::removeDatabase警告;修复部分内存泄露;修复QDir的entryInfoList方法在查找不存在目录时小概率崩溃的问题; 2022-10-19 17:11:05 +08:00
jixiaoxu 4d498eee0b 修复inotify-watch内存泄漏;修复部分Fortify检测代码问题; 2022-10-13 17:37:59 +08:00
iaom ad3d677aa8 Add file system watcher(Encapsulate inotify). 2022-07-29 11:22:53 +08:00
iaom 46c7ab437c 增加索引删除功能。 2022-06-02 09:23:53 +08:00
iaom 1a440bf78f 调整索引建立和增加的逻辑,可以实现单独重建某个数据库。 2022-05-27 16:09:46 +08:00
hewenfei 4294019e28 新增解析uop格式文档,增加uof ppt文档解析粒度 2022-05-27 16:09:20 +08:00
iaom a71a14ffbf 新增uof,uot,uos,ofd格式文件内容解析(不支持演示文稿). 2022-05-27 16:07:09 +08:00
iaom cacf2b8fc8 修复了添加新的索引目录后可能会导致已经索引的内容搜不到的bug。 2022-05-27 14:34:04 +08:00
jixiaoxu ea46fc8199 新增html文件文本内容解析及搜索功能; 2022-05-27 14:33:17 +08:00
baijunjie 91bcdd6c18 Add the ukui-search-dir-manager process which is instead of dir-watcher to solve the qSettings conflict in the case of multiple processes. 2022-05-27 14:32:01 +08:00
iaom 6e7ca5e35c 文件索引改为白名单形式. 2022-05-27 14:25:04 +08:00
iaom 407251b865 Modified file index switch gsettings. 2022-05-27 14:22:28 +08:00
纪笑旭 772458b8da Merge branch '0516ukss' into 'ukss-dev'
Encapsulate the basic interface of cppjieba.

See merge request kylin-desktop/ukui-search!313
2022-05-27 02:26:41 +00:00
iaom 6009d862ca 解决翻译问题。 2022-05-25 11:18:04 +08:00
baijunjie 7daa82e66f Encapsulate the basic interface of cppjieba and hanzi to pinyin.
Use the perfect forword to optimize the 'isMultiTone' interface.
2022-05-19 14:32:31 +08:00
iaom ffd72cbaba 索引搜索的权重相同的结果项按照修改时间新->旧排列。 2022-04-19 09:16:20 +08:00
jixiaoxu 42f7043f6b 文本内容搜索扩展OCR功能; 2022-04-13 13:46:30 +08:00
iaom 8661d1393b 修改了一处命名。 2022-04-11 17:46:13 +08:00
iaom 1135c48abf 修复索引关闭时取消监听不完全的问题。 2022-04-09 17:32:25 +08:00
PengfeiZhang 539dd6529b Merge branch '0328ukss' into 'ukss-dev'
Story#8966:the '/data' directory can be searched by direct search.

See merge request kylin-desktop/ukui-search!282
2022-04-09 08:35:43 +00:00
baijunjie 5e818464c8 Story#8966:the '/data' directory can be searched by direct search. 2022-04-08 11:15:18 +08:00
iaom b7e8221922 修复了一些小错误. 2022-04-07 15:45:40 +08:00
iaom baaac7a4dc 增加文件索引状态查询功能;优化文建索引启动校验逻辑。 2022-03-17 15:40:55 +08:00
iaom 4e3a9d93c6 使用信号量控制进程顺序,规避由于首次索引时间过长导致inotify队列过长问题。 2022-03-15 13:53:38 +08:00
jixiaoxu 47af66e682 优化多音字字典存储数据结构;部分代码及注释整理; 2022-03-08 10:40:33 +08:00
baijunjie af3ea26b0a Fix the incorrectly display of the ToolTip. 2022-03-08 10:34:44 +08:00
iaom 655fe1ae9f Update search plugin interface, add stop search function. 2022-03-08 10:34:11 +08:00
jixiaoxu 2e668d374a 新增OCR功能后端;修复内存泄漏一处; 2022-03-08 10:32:11 +08:00
baijunjie 0244b8f29b Modify the form of the htmlText in order to show the correct number of spacing.Modify the code format. 2022-03-08 10:18:22 +08:00
iaom 0fea295bea Fix a potential bug in plugin interface. 2022-03-08 10:16:21 +08:00
baijunjie 67c134bc17 Change the color of the lines which are on the detail page in night mode. 2022-03-08 10:13:44 +08:00
iaom 24a94db0c6 文件索引增加配置索引目录和黑名单功能;顺便解决了一点编译问题。 2022-03-04 15:15:07 +08:00
iaom 4dae1f2d90 Update ukui-service development files and libsearch.pro. 2022-01-18 17:43:13 +08:00
iaom e6cb935fc0 Change namespace. 2021-12-14 14:43:35 +08:00
iaom 02bdc54669 Add ukui-search-service. 2021-11-22 16:03:31 +08:00
iaom ba88374273 添加数据库搜索单次数量限制。 2021-11-11 14:01:15 +08:00
iaom 4083ee024d Fix merge error. 2021-11-11 10:03:57 +08:00
iaom e95136e6bb Optimize index switch logic. 2021-11-10 14:20:10 +08:00
iaom b50d51dfc8 Integrate blacklist function into Xapian database. 2021-11-10 10:20:16 +08:00