Exact Match in Search Results

  • 1
  • Announcement
  • Updated 2 years ago
Many of our users have asked for more exact results in search and we've recently rolled out some functionality that enables exact string matches on AllMusic.

By putting your word or string in quotes, we try to find the exact match within search results, and from there you can refine further by filtering by artist, album, song, composition, label or article.

Searching for the word David finds thousands of results, but wrapping "David" in quotes, it only returns that exact term:


Exact Match:



Also, you can search for "Artist Name"+"Album Title" or "Artist Name"+"Song Title" and refine your searches to ONLY those matches:

http://www.allmusic.com/search/all/%22David%20Bowie%22%2B%22Blackstar%22

Photo of Zac Johnson

Zac Johnson, Official Rep

  • 3267 Posts
  • 156 Reply Likes

Posted 2 years ago

  • 1
Photo of Don Wiss

Don Wiss

  • 13 Posts
  • 0 Reply Likes
Very nice! This will also fix my complaint that AllMusic's search assumes you can't spell. I usually copy-and-paste into the search field, so I know the spelling is correct.
Photo of Zac Johnson

Zac Johnson, Official Rep

  • 3256 Posts
  • 151 Reply Likes
Great.
If you have examples of things that fail on full search and are successful with exact match, we'd love to see them.
Photo of Don Wiss

Don Wiss

  • 13 Posts
  • 0 Reply Likes
This search is a total fail:
http://www.allmusic.com/search/all/styx%20the%20mission

By going to the artist and checking the Discography, I find that the album is listed. I tried putting quotes around "the mission," but then I got no hits at all. So I have no idea just what search string would find this album.
Photo of Zac Johnson

Zac Johnson, Official Rep

  • 3256 Posts
  • 151 Reply Likes
We're having some odd issues with search right now where the results are not coming back in the correct order (kind of a big deal with search).

When I search for "styx"+"the mission" I get back the proper result:
http://www.allmusic.com/search/all/%22styx%22%2B%22the%20mission%22



But just searching for styx the mission should result in finding the album and it does not currently.

Thanks for this example. We'll continue to try to solve the issue.
Photo of Zac Johnson

Zac Johnson, Official Rep

  • 3256 Posts
  • 151 Reply Likes
Photo of Don Wiss

Don Wiss

  • 13 Posts
  • 0 Reply Likes
Okay. Here's one. The difference here is there is a dash between the artist and album name. This is very common, as that is the way people usually name the folder that the rip resides in.

Christafari - No Compromise

It does work as: "Christafari" + "No Compromise"
Photo of Zac Johnson

Zac Johnson, Official Rep

  • 3256 Posts
  • 151 Reply Likes
The "dash" you included is also seen in many search engines as a "minus" which in search terms usually means "Do not include."

We've been exploring using more advanced boolean searches so you could possibly type in "Like a Rolling Stone" - "Bob Dylan"

And get back results that contain the string “Like a Rolling Stone” but does not contain the string “Bob Dylan”

So it would find:
Album: Like a Rolling Stone by The Rolling Stones
Song: "Like A Rolling Stone" by Mick Ronson
Song: "Like a Rolling Stone" by Jimi Hendrix
Song: "Like a Rolling Stone" by Flatt & Scruggs

But not find:
Song "Like a Rolling Stone" by Bob Dylan
Album Like a Rolling Stone Bob Dylan Song
"Like a Rolling Stone" by The Band / Bob Dylan

This is not yet in place, but that is why the "dash" is causing issue. We're looking at it now. 

KEEP 'EM COMIN'!
These examples are super helpful for us.
Photo of Don Wiss

Don Wiss

  • 13 Posts
  • 0 Reply Likes
Yes, the dash is used as a minus word, but only when it touches the word, or touches a string starting with a double quote.

At one place I search a dash not touching a word gets removed when you click the search button. I believe their search is powered by Google.
Photo of Zac Johnson

Zac Johnson, Official Rep

  • 3267 Posts
  • 156 Reply Likes
Update: This search is working now: Christafari - No Compromise
http://www.allmusic.com/search/all/Christafari%20-%20No%20Compromise
Photo of Thor Lowell

Thor Lowell

  • 16 Posts
  • 0 Reply Likes
Like this feature a lot!
(Edited)