Skip to content
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

Improve search #19

Closed
4 of 6 tasks
stefanbohacek opened this issue Sep 18, 2015 · 3 comments
Closed
4 of 6 tasks

Improve search #19

stefanbohacek opened this issue Sep 18, 2015 · 3 comments

Comments

@stefanbohacek
Copy link
Member

Necessary for the botwiki/open-source-bots#1 merge:

  • Search term1 AND term2 AND etc by default, example.
  • Implement an OR operator.
  • Keep the search term in the search input.

Nice things to have:

  • Fuzzy search: this should give the same results as this. This should also work. (Or at least show Did you mean...?). This should be useful.
  • If appropriate, instead of page description show a snippet with the search term(s) highlighted.

Also important:

  • Code cleanup (see TODO in relevant files)
@stefanbohacek
Copy link
Member Author

Going back to *term1* AND *term2* being the default, maybe if there are no results, we could just return *term1* OR *term2*?

@stefanbohacek
Copy link
Member Author

I just switched the default search type to be OR and you have to specify if you want to only see pages that have all the search terms (AND). This actually gives better results, for example, I think that tiny star field didn't really return anything before.

Of course, the next step is for tiny starfield to work as well.

@stefanbohacek
Copy link
Member Author

I just added Google Custom Search, keeping this issue open while this is being evaluated.

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