settings-view icon indicating copy to clipboard operation
settings-view copied to clipboard

Searching for new packages with multiple words uses sort of an "or", not "and"

Open ghost opened this issue 7 years ago • 1 comments

Prerequisites

  • [X] Put an X between the brackets on this line if you have done all of the following:
    • Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
    • Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
    • Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
    • Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
    • Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description

When you search for packages with multiple words, there are some results that contain only one of the words. For example, searching for "windows explorer context menu" gives all sorts of results with only "menu" or "context" (and so on) in them.

Steps to Reproduce

  1. Go to Package Install
  2. Search for something with multiple words

Expected behavior: It should consider all words

Actual behavior: It considers any of the words, like it uses an "or" operator

Reproduces how often: All the time

Versions

1.31.2 Windows 10

Additional Information

This is a fresh install.

Also, searching in https://atom.io/packages/ doesn't seem to have this problem.

ghost avatar Oct 15 '18 11:10 ghost

They both hit the same endpoint, but settings-view does some extra sorting. See #1042.

winstliu avatar Dec 12 '18 19:12 winstliu