Uploaded image for project: 'MusicBrainz Search Server'
  1. MusicBrainz Search Server
  2. SEARCH-149

Allow searching for URLs

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: High High
    • mb-solr-3.4.1
    • NGS - Beta 2
    • None
    • None

      We would really like to be able to search for a Advanced Relationship URL and find MusicBrainz objects that match it. One of the main uses for this is doing Wikipedia URL -> MB Artist ID. It would be good to have this on the /search.html page and also have a Web Service interface too.

      Example of searching for a URL:

      GET http://musicbrainz.org/ws/1/url/?type=xml&resource=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FNine_Inch_Nails&inc=artist-rels
      
      <?xml version="1.0" encoding="UTF-8"?>
      <metadata xmlns="http://musicbrainz.org/ns/mmd-1.0#" xmlns:ext="http://musicbrainz.org/ns/ext-1.0#">
        <url id="8fc61b5f-bf24-44f4-8d6a-20fa16fe7638">
          <resource>http://en.wikipedia.org/wiki/Nine_Inch_Nails</resource>
          <description>Nine Inch Nails Wikipedia Entry</description>
          <relation-list target-type="Artist">
            <relation type="Wikipedia" target="b7ffd2af-418f-4be2-bdd1-22f8b48613da">
              <artist id="b7ffd2af-418f-4be2-bdd1-22f8b48613da" type="Group">
                <name>Nine Inch Nails</name>
                <sort-name>Nine Inch Nails</sort-name>
                <life-span begin="1988"/>
              </artist>
            </relation>
          </relation-list>
        </url >
      </metadata>
      

      Some use cases:

      Originally: http://bugs.musicbrainz.org/ticket/3292

            Unassigned Unassigned
            nikki nikki
            Votes:
            12 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:

                Version Package
                mb-solr-3.4.1