8000 Improved searching · Issue #2 · alexmojaki/funcfinder · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Improved searching #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
alexmojaki opened this issue Oct 17, 2015 · 0 comments
Open

Improved searching #2

alexmojaki opened this issue Oct 17, 2015 · 0 comments

Comments

@alexmojaki
Copy link
Owner

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant
0