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
981 stars 79 forks source link

Searching for artist in hebrew gives no result #1435

Open stephanebruckert opened 4 years ago

stephanebruckert commented 4 years ago

Issue found on May 15th 2019

Endpoint(s):

Steps to reproduce:

Doing the following ?query= searches with type=artist:

Expected behaviour:

{
  "artists": {
    "href": "https://api.spotify.com/v1/search?query=%D7%A9%D7%9C%D7%9E%D7%94+%D7%90%D7%A8%D7%A6%D7%99&type=artist&offset=0&limit=20",
    "items": [
      {
        "name": "Shlomo Artzi",
        "popularity": 54,
        "type": "artist",
        "uri": "spotify:artist:2W0dQPsEPd0tz7cj95gUse"
      }
    ],
    "limit": 20,
    "next": null,
    "offset": 0,
    "previous": null,
    "total": 1
  }
}

Actual behaviour:

{
  "artists": {
    "href": "https://api.spotify.com/v1/search?query=artist%3A%D7%A9%D7%9C%D7%9E%D7%94+%D7%90%D7%A8%D7%A6%D7%99&type=artist&offset=0&limit=20",
    "items": [],
    "limit": 20,
    "next": null,
    "offset": 0,
    "previous": null,
    "total": 0
  }
}
hacosato commented 4 years ago

Hello.

In Japanese, we met the same problem. Unable to find tracks.

1. https://developer.spotify.com/console/get-search-item/?q=%E3%82%B5%E3%82%AB%E3%83%8A%E3%82%AF%E3%82%B7%E3%83%A7%E3%83%B3&type=track&market=&limit=&offset= q=サカナクション type=track works well. "サカナクション"(Sakanaction) is an artist in Japanese.

2. https://developer.spotify.com/console/get-search-item/?q=track:aoi+artist:sakanaction&type=track&market=&limit=&offset= q=track:aoi artist:sakanaction type=track also works well. "Aoi" is a work of Sakanaction.

3. https://developer.spotify.com/console/get-search-item/?q=track:aoi+artist:%E3%82%B5%E3%82%AB%E3%83%8A%E3%82%AF%E3%82%B7%E3%83%A7%E3%83%B3&type=track&market=&limit=&offset= q=track:aoi artist:サカナクション type=track does not work. Nothing matches.

Following is the response.

{
  "tracks": {
    "href": "https://api.spotify.com/v1/search?query=track%3Aaoi+artist%3A%E3%82%B5%E3%82%AB%E3%83%8A%E3%82%AF%E3%82%B7%E3%83%A7%E3%83%B3&type=track&offset=0&limit=20",
    "items": [],
    "limit": 20,
    "next": null,
    "offset": 0,
    "previous": null,
    "total": 0
  }
}