Indexed Search Syntax

From MusicBrainz Wiki
Revision as of 03:45, 25 February 2006 by RobertKaye (talk | contribs) (added track fields (Imported from MoinMoin))
Jump to navigationJump to search

Attention.png Status: Currently under development. Please help copy and adapt the lucene query syntax docs to our needs!

While we contruct this help page, please see the lucene query syntax page for details on how to construct MusicBrainz text search queries.

MusicBrainz specific search fields

The artist index contains the following fields you can search:

field Description
arid artist id
artist artist name
sortname artist sortname
artype artist type (0 - unknown, 1 - person, 2 - band)
begin artist birth date/band founding date
end artist death date/band dissoluion date
comment artist comment to differentiate similar artists
alias the aliases/misspellings for this artist

The release/album index contains theses fields:

field Description
reid release id
release release name
arid artist id
artist artist name
type release type (1 - album, 2 - single, etc.)
status release status (1 - official, 2 - promo, 3 - bootleg)
tracks number of tracks in the release
discids number of cd ids for the release
date earliest release date for the release
asin the Amazon ASIN for
lang The language for this release (TODO: add lang #s)
script The script used this release

And track searches can contain:

field Description
trid track id
track track name
arid artist id
artist artist name
reid release id
release release name
type release type (1 - album, 2 - single, etc.)
tracks number of tracks in the release
dur duration of track in milliseconds
qdur quantized duration (duration / 2000)
tnum track number