<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic The OR operator in the Search API doesn't work in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/The-OR-operator-in-the-Search-API-doesn-t-work/m-p/5048301#M1294</link>
    <description>&lt;P&gt;I'm trying to look for tracks by either ISRC ID, or by both track name and artist name, I try to do so in a single request using the OR operator in the search API endpoint but it doesn't really work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I search by ISRC ID alone it works&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;/search?type=track&amp;amp;q=isrc:USWB11101940&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I search by both track name and artist name it also works&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;/search?type=track&amp;amp;q=track:adventure artist:red hot chili peppers&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when I try to search by ISRC ID or by track name and artist name in the same query it doesn't really work, I mean when I provide a &lt;U&gt;&lt;STRONG&gt;valid and existing&lt;/STRONG&gt;&lt;/U&gt; ISRC ID &lt;U&gt;&lt;STRONG&gt;AND&lt;/STRONG&gt;&lt;/U&gt; a &lt;U&gt;&lt;STRONG&gt;valid and existing&lt;/STRONG&gt;&lt;/U&gt; track and artist names it works:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;/search?type=track&amp;amp;q=isrc:USWB11101940 OR track:adventure artist:red hot chili peppers&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;But&lt;/STRONG&gt; when I intentionally provide either a non-existing ISRC ID &lt;U&gt;&lt;STRONG&gt;OR&lt;/STRONG&gt;&lt;/U&gt; a none-existing track and artist names it doesn't fallback to the other side of the "OR" operator and it doesn't provide results even though it should.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Examples of the possible bug:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Valid and existing&lt;/STRONG&gt;&lt;/U&gt; ISRC ID or &lt;U&gt;&lt;STRONG&gt;none-existing&lt;/STRONG&gt;&lt;/U&gt; track and artist names - no results (it fails on the track &amp;amp; artist names and it doesn't fallback to the ISRC ID)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;/search?type=track&amp;amp;q=isrc:USWB11101940 OR track:adve1nture artist:r1ed h1ot chi1li pep1pe1rs&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Non-existing&lt;/STRONG&gt;&lt;/U&gt; ISRC ID or &lt;U&gt;&lt;STRONG&gt;valid and existing&lt;/STRONG&gt;&lt;/U&gt; track and artist names - no results (it fails on the ISRC ID and doesn't fallback to the track &amp;amp; artist names)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/search?type=track&amp;amp;q=isrc:11WB11101940 OR track:adventure artist:red hot chili peppers&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Oct 2020 18:27:52 GMT</pubDate>
    <dc:creator>no-username2</dc:creator>
    <dc:date>2020-10-06T18:27:52Z</dc:date>
    <item>
      <title>The OR operator in the Search API doesn't work</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/The-OR-operator-in-the-Search-API-doesn-t-work/m-p/5048301#M1294</link>
      <description>&lt;P&gt;I'm trying to look for tracks by either ISRC ID, or by both track name and artist name, I try to do so in a single request using the OR operator in the search API endpoint but it doesn't really work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I search by ISRC ID alone it works&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;/search?type=track&amp;amp;q=isrc:USWB11101940&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I search by both track name and artist name it also works&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;/search?type=track&amp;amp;q=track:adventure artist:red hot chili peppers&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when I try to search by ISRC ID or by track name and artist name in the same query it doesn't really work, I mean when I provide a &lt;U&gt;&lt;STRONG&gt;valid and existing&lt;/STRONG&gt;&lt;/U&gt; ISRC ID &lt;U&gt;&lt;STRONG&gt;AND&lt;/STRONG&gt;&lt;/U&gt; a &lt;U&gt;&lt;STRONG&gt;valid and existing&lt;/STRONG&gt;&lt;/U&gt; track and artist names it works:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;/search?type=track&amp;amp;q=isrc:USWB11101940 OR track:adventure artist:red hot chili peppers&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;But&lt;/STRONG&gt; when I intentionally provide either a non-existing ISRC ID &lt;U&gt;&lt;STRONG&gt;OR&lt;/STRONG&gt;&lt;/U&gt; a none-existing track and artist names it doesn't fallback to the other side of the "OR" operator and it doesn't provide results even though it should.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Examples of the possible bug:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Valid and existing&lt;/STRONG&gt;&lt;/U&gt; ISRC ID or &lt;U&gt;&lt;STRONG&gt;none-existing&lt;/STRONG&gt;&lt;/U&gt; track and artist names - no results (it fails on the track &amp;amp; artist names and it doesn't fallback to the ISRC ID)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;/search?type=track&amp;amp;q=isrc:USWB11101940 OR track:adve1nture artist:r1ed h1ot chi1li pep1pe1rs&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Non-existing&lt;/STRONG&gt;&lt;/U&gt; ISRC ID or &lt;U&gt;&lt;STRONG&gt;valid and existing&lt;/STRONG&gt;&lt;/U&gt; track and artist names - no results (it fails on the ISRC ID and doesn't fallback to the track &amp;amp; artist names)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/search?type=track&amp;amp;q=isrc:11WB11101940 OR track:adventure artist:red hot chili peppers&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 18:27:52 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/The-OR-operator-in-the-Search-API-doesn-t-work/m-p/5048301#M1294</guid>
      <dc:creator>no-username2</dc:creator>
      <dc:date>2020-10-06T18:27:52Z</dc:date>
    </item>
  </channel>
</rss>

