Search: Difference between revisions

From MusicBrainz Wiki
Jump to navigationJump to search
m (fix link, use interwiki links)
m (Fix letter-casing as Solr isn’t an acronym. See https://solr.apache.org/ and https://en.wikipedia.org/wiki/Apache_Solr)
 
Line 5: Line 5:


===Indexed search===
===Indexed search===
The indexed search is used by default. It uses the SOLR search engine, making it much more powerful than a direct database search, and, if the "advanced" option is chosen, allowing all kinds of specific queries via its [[Indexed Search Syntax|advanced search syntax]].
The indexed search is used by default. It uses the Solr search engine, making it much more powerful than a direct database search, and, if the "advanced" option is chosen, allowing all kinds of specific queries via its [[Indexed Search Syntax|advanced search syntax]].


Popular results are preferred over exact matches. To search for exact match, please surround your search with double quotes, as in [https://musicbrainz.org/search?query=%22Bach%22&type=artist&method=indexed "Bach"] for example.
Popular results are preferred over exact matches. To search for exact match, please surround your search with double quotes, as in [https://musicbrainz.org/search?query=%22Bach%22&type=artist&method=indexed "Bach"] for example.
Line 14: Line 14:
The direct search searches the database directly: it can only carry out simple keyword searches with no boolean logic, but it is always up-to-date.
The direct search searches the database directly: it can only carry out simple keyword searches with no boolean logic, but it is always up-to-date.


Note: It is just a fallback method, in case something goes wrong with the SOLR search server.
Note: It is just a fallback method, in case something goes wrong with the Solr search server.


==Edit search==
==Edit search==

Latest revision as of 16:47, 27 February 2024

There are two ways of searching the MusicBrainz database: indexed search and direct search. You can also search specific types of edits to the data.

Data search

You can access the data search from our search page, or from the search field in the upper right corner of every MusicBrainz page (which uses indexed, non-advanced search).

Indexed search

The indexed search is used by default. It uses the Solr search engine, making it much more powerful than a direct database search, and, if the "advanced" option is chosen, allowing all kinds of specific queries via its advanced search syntax.

Popular results are preferred over exact matches. To search for exact match, please surround your search with double quotes, as in "Bach" for example.

Note: It can't find results that haven't been indexed yet, but indexation now run within seconds, see blog post.

Direct search

The direct search searches the database directly: it can only carry out simple keyword searches with no boolean logic, but it is always up-to-date.

Note: It is just a fallback method, in case something goes wrong with the Solr search server.

Edit search

The edit search allows searching for edits that match a specific set of conditions, from the type of the edit to the editor who entered it or the language of the involved release.