godotengine / godot-asset-library

PHP frontend for Godot Engine's asset library
https://godotengine.org/asset-library
MIT License
285 stars 85 forks source link

Search only searches title #250

Open nsrosenqvist opened 2 years ago

nsrosenqvist commented 2 years ago

As far as I can tell, search only looks at asset titles at the moment. If I search for "ballistic", I expect to find my published asset "Trajectory Lib," but currently I don't. It's unreasonable to expect that titles should include all relevant keywords. My suggested fix is to either add full-text search also to the asset description or allowing tags to be manually added.

Calinou commented 2 years ago

Searching in the description will likely include too many false positives, on top of using a lot of server resources. (Setting up full-text search systems also adds a lot of complexity, which I'd prefer not to deal with.)

A better to this is to add an one-line "blurb" field that will also be searched in, along with an arbitrary tag system. Both of those are already implemented in the new asset library. There's no ETA for deploying this new asset library though, as we still need to sort out hosting issues.

In the meantime, you can modify your asset name to include a quick description as follows:

Trajectory Lib - Ballistic preview

This is a popular approach on Google Play, for instance.