Skip to content
This repository has been archived by the owner on Mar 29, 2022. It is now read-only.

能否加个搜索文件名的功能? #19

Closed
lhmwzy opened this issue May 15, 2020 · 4 comments
Closed

能否加个搜索文件名的功能? #19

lhmwzy opened this issue May 15, 2020 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@lhmwzy
Copy link

lhmwzy commented May 15, 2020

如标题

@Sloaix
Copy link
Owner

Sloaix commented Jul 17, 2020

Angular重构版本已经开始开发搜索功能的,不过对于功能的细节还需要再细化一下。

搜索feature

  • 根据关键字过滤出当前文件夹下的指定文件
  • 根据关键字过滤出当前文件下的指定文件,包括子文件夹
  • 根据关键字进行全仓搜索

@Sloaix Sloaix self-assigned this Jul 17, 2020
@Sloaix Sloaix added the enhancement New feature or request label Jul 17, 2020
@Sloaix Sloaix pinned this issue Jul 17, 2020
@Sloaix
Copy link
Owner

Sloaix commented Jul 17, 2020

1

@Sloaix Sloaix unpinned this issue Jul 29, 2021
@Sloaix
Copy link
Owner

Sloaix commented Aug 6, 2021

鉴于angular版本的已经被我放弃了,所以上述feature暂时还未实现。。。

由于Gofi并没有对文件系统进行索引,所以在没有索引的情况下,只能简单的遍历当前目录下所有文件,进行搜索。说是搜索不如说是简单的过滤,这样的效率实在太低。

这次重构的时候我好好的思考了一下,如果要上搜索的feature,还是需要对文件进行索引,这是必须的,不然体验会很差。

@Sloaix
Copy link
Owner

Sloaix commented Aug 29, 2021

discuss in #27

@Sloaix Sloaix closed this as completed Aug 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants