Indexed Search Syntax: Difference between revisions
From MusicBrainz Wiki
Jump to navigationJump to search
RobertKaye (talk | contribs) ((Imported from MoinMoin)) |
RobertKaye (talk | contribs) (added track fields (Imported from MoinMoin)) |
||
Line 35: | Line 35: | ||
|- |
|- |
||
| release || release name |
| release || release name |
||
|- |
|||
| arid || artist id |
|||
|- |
|||
| artist || artist name |
|||
|- |
|- |
||
| type || release type (1 - album, 2 - single, etc.) |
| type || release type (1 - album, 2 - single, etc.) |
||
Line 51: | Line 55: | ||
|- |
|- |
||
| script || The script used this release |
| script || The script used this release |
||
|} |
|||
And track searches can contain: |
|||
{| border="1" |
|||
|- |
|||
| '''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 |
|||
|} |
|} |
||
Revision as of 03:45, 25 February 2006
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 |