MinecraftStats icon indicating copy to clipboard operation
MinecraftStats copied to clipboard

Search

Open pdinklag opened this issue 2 years ago • 2 comments

A search bar could ease up navigating the site by indexing awards, player names, maybe UUIDs and more.

pdinklag avatar Oct 16 '22 07:10 pdinklag

This would mean quite some work. Some keynotes:

  • The search index can be built up during the server-side update for the client to download. A simple inverted index should do the trick, probably there are libraries for that.
  • The search algorithm itself must run on the client side (JavaScript), because the frontend is serverless. Implementing AJAX would require some sort of script (e.g., PHP) on the server side to reply
  • Finally, a frontend presenting the search results is needed.

pdinklag avatar Oct 16 '22 07:10 pdinklag

Vouch for this, would be awesome for players to search themselves in the stats website rather than having to go through the server list (if they are not the firsts in any awards)

articbloom avatar Jun 12 '24 15:06 articbloom