I'm running a Java application that queries the Musicbrainz database for info and I ran into a peculiar problem. The query that my application builds (using java.net.URL.URL
) is as follows:
http://musicbrainz.org/ws/2/recording?query=%22Gilt+Complex%22+AND+artistname%3A+%22Sons+And+Daugthers%22
The above query returns an empty response:
<metadata xmlns="http://musicbrainz.org/ns/mmd-2.0#" xmlns:ext="http://musicbrainz.org/ns/ext#-2.0" created="2018-04-25T14:25:36.224Z">
<recording-list count="0" offset="0"/>
</metadata>
However, if I change the AND to lower case, the query works properly:
http://musicbrainz.org/ws/2/recording?query=%22Gilt+Complex%22+and+artistname%3A+%22Sons+And+Daugthers%22
returns:
<metadata xmlns="http://musicbrainz.org/ns/mmd-2.0#" xmlns:ext="http://musicbrainz.org/ns/ext#-2.0" created="2018-04-25T14:25:36.224Z">
<recording-list count="526823" offset="0">
...
</recording-list>
</metadata>
The same thing happens if I copy&paste the queries into Chrome. This hasn't happened to me with other songs yet. Can anyone explain what is going on here?