spotify / web-api

This issue tracker is no longer used. Join us in the Spotify for Developers forum for support with the Spotify Web API ➡️ https://community.spotify.com/t5/Spotify-for-Developers/bd-p/Spotify_Developer
983 stars 79 forks source link

Exact match / quoted phrase search doesn't find exact matches #1587

Open viking2917 opened 4 years ago

viking2917 commented 4 years ago

Issue found on May 27, 2020.

Endpoint(s):

Scope(s):

Steps to reproduce:

  1. Open the API Console
  2. Call the search endpoint with query "diver" (e.g. https://developer.spotify.com/console/get-search-item/?q=%22diver%22&type=track&market=&limit=&offset=)

(be sure to include the quotes in the search term.)

Expected behaviour:

Should return objects (e.g. tracks) with title Diver (There are many of them) (e.g. spotify:album:5wxtWLeap4Epa3VZPhKOcE, by artist Marisa Anderson. or spotify:track:0wDXtaAKfzdDYUqL3iQ2Jw by KANA-BOON )

Actual behaviour:

Returns a list of tracks with vaguely related, but not exact match, titles. e.g. first result is Diverse Path by Omotesando, and many "Divertimento" results by Mozart.

The Spotify app does something similar.

Note that if you add the term "Anderson" to the "Diver" query, then the correct track will be found.