NexusHub icon indicating copy to clipboard operation
NexusHub copied to clipboard

Weighted quick search ordering

Open Kaptard opened this issue 7 years ago • 1 comments

I'm submitting a...

  • [ ] Bug report
  • [x] Feature request
  • [ ] Documentation issue or request

Current behavior

Returns search results by closest match.


Expected behavior

Should return most popular items first.


Minimal reproduction of the problem

Seems trivial. People want the important stuff first, especially in a quick search, where they're not likely to look for obscure items.


Environment

Browser:

  • [ ] Chrome (desktop) version:
  • [ ] Chrome (Android) version:
  • [ ] Chrome (iOS) version:
  • [ ] Firefox version:
  • [ ] Safari (desktop) version:
  • [ ] Safari (iOS) version:
  • [ ] IE version:
  • [ ] Edge version:

For development issues:

  • Node version:
  • Operating System:

Additional Description

I'm suggesting a system where the last viewed item always gets pushed to the top. On average, that should result in what people want, and is probably the most dynamic option.

Kaptard avatar Nov 08 '18 16:11 Kaptard

How do you imagine the dynamic system in the additional description? Having a big redis list with the top ~200 items inside?
My first thought for implementing that would be a simple searchRank inside the item database

Nakroma avatar Jan 22 '20 22:01 Nakroma