INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Search Results  (Read 735 times)

joshhuggins

  • MC Beta Team
  • Galactic Citizen
  • *****
  • Posts: 415
Search Results
« on: July 04, 2020, 04:55:47 pm »

Is there a way to get search and field search results to display items that match the current search input exactly at the top of the results list instead of sorting all results by the first letter in the result? Most of the time if you are searching for something you probably know the name of it and are typing that name so putting those exact matching results at the top so you can easily just arrow down to it would make things a lot faster, especially when results have lots of items. Many times what I am looking for is 10-20 down the list and all mixed up which makes me have to slow down and look at each item in the result. Thanks for any ideas! :)
Logged
Thanks!

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: Search Results
« Reply #1 on: July 06, 2020, 07:40:51 am »

The sorting used for suggestions is pretty elaborate.

If it finds a full match, it should be a higher quality:
// anytime we find a full word match, we improve the match quality
Logged
Matt Ashland, JRiver Media Center

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2619
Re: Search Results
« Reply #2 on: July 06, 2020, 09:05:23 am »

It does make sense to also improve the quality of results that start with the search string, which is what OP is requesting:

Equals > StartsWith > Contains
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: Search Results
« Reply #3 on: July 06, 2020, 09:21:41 am »

It does make sense to also improve the quality of results that start with the search string, which is what OP is requesting:

Equals > StartsWith > Contains

We also do that:
// the closer to the beginning of the string the find is, the higher the quality
Logged
Matt Ashland, JRiver Media Center

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2619
Re: Search Results
« Reply #4 on: July 06, 2020, 09:45:04 am »

The screenshots above don't seem to show that.
Logged
Pages: [1]   Go Up