Search like Google Part II: Autocomplete, Filter by Dance Style and Sorting

I am continuing to rebuild the music4dance database capabilities in the more intuitive style of current search engines like Google and Bing – the initial attempt at this is documented in this post.

Auto-Complete

Auto-complete is something everyone expects when searching these days.  So if you were to type “Peab” into the search box on the simple search page you should see suggestions like the following pop-up:

  • Peabody
  • Peabo Bryson
  • Tonight, I Celebrate My Love (feat. Peabo Bryson)
  • Peabo Bryson & Regina Belle
  • Peabo Bryson And Roberta Flack
  • Love and Rapture: The Best of Peabo Bryson

And just like Bing or Google, clicking on the selection will take you to a list of songs that contain the selected text.

The thing that is a little different for music4dance than a generic search is that one might want to do combinations of things like a fragment of a title and a dance style name.  I haven’t figured out an easy way to do that, but as always I’m open to suggestions.

Filter by Dance Style

But I can fall back to the original way that I landed on for just searching within a single dance style.  So now on the Simple Search page, you can select a dance style from the drop down to the left of the search box and we’ll just show you results for that dance style.  So if you select Cha Cha and then type “tea” into the search box you should get only songs that have the word tea somewhere in the description that have also been tagged as Cha Cha.

Sorting

And finally, I’ve implemented sorting by Title, Artist, Tempo, Beat, Energy, Mood and Recency.  Just click on the appropriate heading in the Simple Search Page, just like you did in the classic search page.  I’m still looking for a reasonable way to sort by votes on dance style.

BETA

This is a BETA feature because I haven’t fully integrated this search with the basic and advanced search features, so let me know what you’re missing the most in this simple search method and I’ll get those pulled back in first.  As always, please send me feedback or just respond to this post with any issues or ideas.

2 thoughts on “Search like Google Part II: Autocomplete, Filter by Dance Style and Sorting”

Leave a Reply