alexmojaki / alexmojaki/funcfinder

Improved searching

未关闭
#2 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
discussion enhancement
主要语言
Python
星标
167
派生
4
PR 合并指标
30 天内没有已合并 PR

描述

Searching through questions is currently very primitive. It's simply implemented as:

```
for question in funcfinder.questions.functions.itervalues():
search_string = (question.__name__ + question.__doc__).lower()
if all(imap(search_string.__contains__, terms)):
```

There is no indexing to improve speed, fuzzy matching (i.e. users can't make spelling errors or use a synonym that wasn't explicitly inserted by the author), boolean operators, or any other features typically offered by search engines. What would be a good solution to improve search without diminishing the convenience of the `funcfinder find` command?

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。