💾 Archived View for musicbrainz.uploadedlobster.com › help › query.gmi captured on 2024-05-12 at 14:51:31. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-05-10)

-=-=-=-=-=-=-

Advanced Query Syntax

Searches on MusicBrainz Gemini support the advanced query syntax. MusicBrainz' search is based on the Lucene text search engine and supports its query language.

Example searches

Artists

"tori amos"

search artist, sortname and alias fields

comment:electronic

search for the word electronic in artist disambiguation (comment) fields

begin:1984 AND type:group

search for all groups formed in 1984

Releases

café del mar

search for all Café del Mar albums

"the understanding" AND artist:royksopp

search for the album The Understanding by the artist Röyksopp

date:1999 AND country:de AND rock

search for releases from Germany in 1999 with the word rock in them

Recordings

type:album AND amadeus

search for recordings with the title amadeus from albums

day life

will retrieve A Day In The Life

will retrieve Life In A Day

will retrieve This Day

will retrieve That's Life

day AND life

will retrieve A Day In The Life

will retrieve Life In A Day

will not retrieve This Day

will not retrieve That's Life

"day in the life"

will retrieve A Day In The Life

will not retrieve Life In A Day

will not retrieve This Day

will not retrieve That's Life

"voodoo people" AND artist:"the prodigy"

search for all recordings with the title Voodoo People by the artist The Prodigy

Query syntax

Wildcards

To perform a single character wildcard search use the "?" symbol. To perform a multiple character wildcard search use the "*" symbol. For example, to search for "text" or "test" you can use the search te?t, to search for "test", "tests" or "tester", you can use the search test*.

Note: You cannot use a * or ? symbol as the first character of a search.

Fuzzy searches

To do a fuzzy search use the tilde, "~", symbol at the end of a single word term. Optionally can specify the required similarity, a value is between 0 and 1. For example to search for a term similar in spelling to "roam" use the fuzzy search roam~ or roam~0.8

Regular expressions

You can use regular expressions in your searches. For that you should put the expression between forward slashes (/regex/). Regular expression search generally searches only inside each token (word), so you cannot search for combinations of words as a regular expression. For an example, to find releases credited to either of the two common transliterations of Сергей Рахманинов, "Rachmaninov" and "Rachmaninoff", you can pass artist:/Rachmanino(ff|v)/ to the release search.

artist:/Rachmanino(ff|v)/

More information

For a full description of the search syntax and the available search fields see the official MusicBrainz documentation:

MusicBrainz Indexed Search Syntax

Return to start page