Difference between revisions of "MusicBrainz API/Search/WorkSearch"

From MusicBrainz Wiki
 
Line 1: Line 1:
 
====Search Fields====
 
====Search Fields====
The work index contains these fields you can search
+
The [[Work]] index contains the following fields you can search
 
{| border="1" class="wikitable sortable"
 
{| border="1" class="wikitable sortable"
 
|-
 
|-
| '''field'''  || '''Description'''
+
! Field !! Description
 +
 
 +
|-
 +
| alias || (part of) any [[Aliases|alias]] attached to the work (diacritics are ignored)
 +
|-
 +
| arid || the MBID of an artist related to the event (e.g. a composer or lyricist)
 +
|-
 +
| artist || (part of) the name of an artist related to the work (e.g. a composer or lyricist)
 
|-
 
|-
| alias  || the aliases/misspellings for this work
+
| comment || (part of) the work's disambiguation comment
 
|-
 
|-
| arid  || artist id
+
| iswc || any [[ISWC]] associated to the work
 
|-
 
|-
| artist  || artist name, an artist in the context of a work is an artist-work relation such as composer or lyricist
+
| lang || the [https://iso639-3.sil.org/code_tables/639/data ISO 639-3 code] for any of the languages of the work's lyrics
 
|-
 
|-
| comment  || disambiguation comment
+
| recording || (part of) the title of a recording related to the work
 
|-
 
|-
| iswc  || [[ISWC]] of work  
+
| recording_count || the number of recordings related to the work
 
|-
 
|-
| lang  || Lyrics language of work  
+
| rid || the MBID of a recording related to the work
 
|-
 
|-
| tag || folksonomy tag  
+
| tag || (part of) a tag attached to the work
 
|-
 
|-
| type || work type  
+
| type || the work's type (e.g. "opera", "song", "symphony")
 
|-
 
|-
| wid || work id
+
| wid || the work's MBID
 
|-
 
|-
| work || name of work  
+
| work || (part of) the work's title (diacritics are ignored)
 
|-
 
|-
| workaccent || name of the work with any accent characters retained
+
| workaccent || (part of) the work's title (with the specified diacritics)
 
|}
 
|}
  
Work search terms with no fields specified search the work and alias fields.
+
If you don't specify a field, the terms will be searched for in the ''alias'' and ''work'' fields.

Latest revision as of 14:30, 22 January 2021

Search Fields

The Work index contains the following fields you can search

Field Description
alias (part of) any alias attached to the work (diacritics are ignored)
arid the MBID of an artist related to the event (e.g. a composer or lyricist)
artist (part of) the name of an artist related to the work (e.g. a composer or lyricist)
comment (part of) the work's disambiguation comment
iswc any ISWC associated to the work
lang the ISO 639-3 code for any of the languages of the work's lyrics
recording (part of) the title of a recording related to the work
recording_count the number of recordings related to the work
rid the MBID of a recording related to the work
tag (part of) a tag attached to the work
type the work's type (e.g. "opera", "song", "symphony")
wid the work's MBID
work (part of) the work's title (diacritics are ignored)
workaccent (part of) the work's title (with the specified diacritics)

If you don't specify a field, the terms will be searched for in the alias and work fields.