MusicBrainz search upgrades, 2025-05-29

After last year’s migration of the Solr back-end powering the search features of musicbrainz.org to a new cluster running major version 9, and last week’s database schema change, here is a pack of search upgrades affecting both musicbrainz.org and the MusicBrainz mirror.

For users, a new search field mediumid is available for the advanced release search, the MBID of artist credits and mediums is added to the output of the search API, and the barcode search field is now ignoring spaces. These improvements are fairly minor compared to the rest of the upgrades which unlock further development of the search components.

For mirror owners, SolrCloud 9 is now available, along with an improved indexer and scripts to load backups from musicbrainz.org and an improved indexer. Also Docker Compose 2 is now required. Actually, those are the changes from last autumn’s announcement. Solr 7 will remain available for one more month starting from now, buying some transition time. A new release of MusicBrainz Docker is available that matches these search component changes. See the v-2025-05-29.0-solr9 release notes for update instructions.

Thanks to Krikooo, JoshDi, mglubb, nelgin, and PeterCodar for their feedback.

Fixed Bug

  • [SEARCH-732] – mb-solr mvn package sometimes fails with compilation error in MusicbrainzTokenizerImpl.java

Improvement

  • [SEARCH-637] – Ignore spaces when parsing barcode in search query
  • [SEARCH-685] – Upgrade to SolrCloud 9
  • [SEARCH-690] – Set artist credit’s MBID in XML/JSON search results
  • [SEARCH-738] – Set medium’s MBID in XML/JSON search results
  • [SEARCH-739] – Allow searching releases by medium MBID

Task

  • [MBVM-100] – Upgrade the required version of Docker Compose to 2
  • [MBVM-101] – Upgrade MusicBrainz Solr major version to 4 (Apache Solr 9)
  • [SEARCH-594] – Port Search Index Rebuilder (SIR) to Python 3
  • [SEARCH-625] – Upgrade Java SE version to 11
  • [SEARCH-675] – Improve SIR’s documentation about RabbitMQ
  • [SEARCH-689] – Upgrade to SQLAlchemy 2.0
  • [SEARCH-714] – Upgrade Java SE version to 17
  • [SEARCH-733] – Initialize locally with Solr 9 in SolrCloud mode
  • [SEARCH-740] – Update mbdata / Sir to MBS schema 30 (2025 Q2)

Components’ release notes

Leave a Reply

Your email address will not be published. Required fields are marked *