Release Group Search results as "Nagios Check Release"

musicbrainz
api
Tags: #<Tag:0x00007f2a005b8ca0> #<Tag:0x00007f2a005b8b60>

#1

This has to be some kind of joke because of the subject band but…
when running some tests i found an interesting response for the following query

http://musicbrainz.org/ws/2/release-group/?query=artist:"Staind"%20AND%20release:"1996-2006%20-%20The%20Singles"&dismax=true&fmt=json

That response being some kind of “Nagios Check Release”??
Did i find an easter egg at a bad bands expense?

{
  "created": "2017-06-07T06:13:00.518Z",
  "count": 1,
  "offset": 0,
  "release-groups": [
    {
      "id": "e916d4bf-8e8f-3107-ab4a-4c3774e23990",
      "score": "100",
      "count": 1,
      "title": "Nagios Check Release",
      "primary-type": "Other",
      "artist-credit": [
        {
          "artist": {
            "id": "7e84f845-ac16-41fe-9ff8-df12eb32af55",
            "name": "MusicBrainz Test Artist",
            "sort-name": "MusicBrainz Test Artist",
            "disambiguation": "Special Purpose Artist - MusicBrainz Test Artist",
            "aliases": [
              {
                "sort-name": "MB Test Artist",
                "name": "MB Test Artist",
                "locale": null,
                "type": null,
                "primary": null,
                "begin-date": null,
                "end-date": null
              },
              {
                "sort-name": "Move for Great speed Testing",
                "name": "Move for Great speed Testing",
                "locale": null,
                "type": null,
                "primary": null,
                "begin-date": null,
                "end-date": null
              },
              {
                "sort-name": "MusicBrainz Test Artist Frobozz",
                "name": "MusicBrainz Test Artist Frobozz",
                "locale": null,
                "type": null,
                "primary": null,
                "begin-date": null,
                "end-date": null
              },
              {
                "sort-name": "MusicBrainz Test Artist Qwlghm",
                "name": "MusicBrainz Test Artist Qwlghm",
                "locale": null,
                "type": null,
                "primary": null,
                "begin-date": null,
                "end-date": null
              },
              {
                "sort-name": "Qwlghm",
                "name": "Qwlghm",
                "locale": null,
                "type": null,
                "primary": null,
                "begin-date": null,
                "end-date": null
              },
              {
                "sort-name": "Tedious Test Artist",
                "name": "Tedious Test Artist",
                "locale": null,
                "type": null,
                "primary": null,
                "begin-date": null,
                "end-date": null
              },
              {
                "sort-name": "testalias",
                "name": "testalias",
                "locale": null,
                "type": null,
                "primary": null,
                "begin-date": null,
                "end-date": null
              },
              {
                "sort-name": "Testing Artist",
                "name": "Testing Artist",
                "locale": null,
                "type": null,
                "primary": null,
                "begin-date": null,
                "end-date": null
              },
              {
                "sort-name": "Testings Artist",
                "name": "Testings Artist",
                "locale": null,
                "type": null,
                "primary": null,
                "begin-date": null,
                "end-date": null
              },
              {
                "sort-name": "yatta!",
                "name": "yatta!",
                "locale": null,
                "type": null,
                "primary": null,
                "begin-date": null,
                "end-date": null
              },
              {
                "sort-name": "Yet another tedious test artist",
                "name": "Yet another tedious test artist",
                "locale": null,
                "type": null,
                "primary": null,
                "begin-date": null,
                "end-date": null
              },
              {
                "sort-name": "テスト芸術家",
                "name": "テスト芸術家",
                "locale": null,
                "type": "Artist name",
                "primary": null,
                "begin-date": null,
                "end-date": null
              }
            ]
          }
        }
      ],
      "releases": [
        {
          "id": "1735e086-462e-42c3-b615-eebbd5e9f352",
          "title": "Nagios Check Release",
          "status": "Pseudo-Release"
        }
      ]
    }
  ]
}

#2

This is a test release, assigned to the “MusicBrainz Test Artist”


#3

I am not sure why this query is finding our test artist instead.

http://musicbrainz.org/ws/2/release-group/?query=artist:"Staind"%20AND%20release:"The%20Singles:%201996-2006"&fmt=json seems to work, but that involves switching the title around since we have it in the opposite order. Adding dismax back shows a ton of stuff that seems mostly useless.

Edit: http://musicbrainz.org/ws/2/release-group/?query="1996-2006%20-%20The%20Singles"%20AND%20artist:"Staind"&dismax=true&fmt=json seems more useful


#4

The same query used in the OP gives 0 results in MB itself:
https://musicbrainz.org/search?query=artist%3A"Staind"+AND+release%3A"1996-2006+-+The+Singles"&type=release_group&limit=25&method=advanced

I guess dismax gives the search a bit more leniency, but I can’t really tell how it would end up with that release…


#5

@reosarevok Is there a particular format to follow when constructing urls for Search/Browse/Lookup?

I mean, if rearranging a query would help results, how would one know say when searching the release-group resource, that one should not use the release parameter but instead issue the release as the query parameter… ect…


#6

frankly ive found dismax to give way better search results as a whole, so much that ive adopted it as the default way to go…
From what I understand using SOLR is the closest way to get what comes up on a web search, but as in this case isnt quite that good.