Something new to play with: full text search (FTS).

Your search no longer is limited to a simple title/name search. With the FTS you can now easily find track X by artist Y. Just type "hurry love supremes" if you want to make sure not to get Phil Collins' version.

Other examples:

"mp3" - only find tracks in lossy mp3 (or with mp3 in the name - oh well)

"playlist elvis" - find playlists with tracks by Elvis, or with Elvis in the name or a track's name

"flac 88.2 mozart" - get that highres classical stuff

The search code tries to weight results: hits in track titles have higher priority than hits in a track's artist or album name. Eg. "lov" would rank ABBA's "loving me, loving you" higher than "love me tender" from the "greatest love songs, ever" album. Playlist names have priority over track titles included in the playlist etc.

FTS is available from both the web UI's "live search" as well as the regular search menus. Please give it a try and let me know what you think about it.


A few caveats:

- FTS most likely will be a bit heavier on your system, with regards to both the CPU as well as memory. I guess it shouldn't be used without the highmem preference being set to high or max.

- FTS only works with SQLite. If you decided to use MySQL for whatever reason, then I'm sorry, this won't work, as it's based around SQLite's FTS extension

FTS is implemented as a plugin (mostly). If you don't like it, then just disable the plugin to get the old behaviour back.

--

Michael
_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/beta

Reply via email to