Search: Difference between revisions

From MusicBrainz Wiki
Jump to navigationJump to search
(→‎Direct search: just a fallback in beta)
m (fix link, use interwiki links)
(One intermediate revision by one other user not shown)
Line 2: Line 2:


==Data search==
==Data search==
You can access the data search from our [http://musicbrainz.org/search search page], or from the search field in the upper right corner of every MusicBrainz page (which uses indexed, non-advanced search).
You can access the data search from our [[mb:search|search page]], or from the search field in the upper right corner of every MusicBrainz page (which uses indexed, non-advanced search).


===Indexed search===
===Indexed search===
The indexed search is used by default. It uses the Lucene 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]]. It's biggest downside is that it can't find results that haven't been indexed yet, which means it won't always find anything added less than 3 hours before.
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.
New: This downside is being mitigated with [https://beta.musicbrainz.org/search beta search] where indexation now run within seconds, see [https://blog.musicbrainz.org/2018/06/15/musicbrainz-search-overhaul/ blog post].

Note: It can't find results that haven't been indexed yet, but indexation now run within seconds, see [https://blog.musicbrainz.org/2018/06/30/weve-finally-released-our-new-solr-search-server-update-2018-06-30/ blog post].


===Direct search===
===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.
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 [https://beta.musicbrainz.org/search beta], in case something goes wrong with the new search server.
Note: It is just a fallback method, in case something goes wrong with the SOLR search server.


==Edit search==
==Edit search==
The [http://musicbrainz.org/search/edits edit search] allows searching for [[Edit|edit]]s that match a specific set of conditions, from the [[Edit Type|type]] of the edit to the [[Editor|editor]] who entered it or the language of the involved [[Release|release]].
The [[mb:search/edits|edit search]] allows searching for [[Edit|edit]]s that match a specific set of conditions, from the [[mbdoc:Edit_Types|type]] of the edit to the [[Editor|editor]] who entered it or the language of the involved [[Release|release]].


[[Category:To Be Reviewed]] [[Category:Documentation]]
[[Category:To Be Reviewed]] [[Category:Documentation]]

Revision as of 21:19, 27 April 2020

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.