Issue Details (XML | Word | Printable)

Key: SEARCH-214
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Normal Normal
Assignee: Unassigned
Reporter: Alberto Villa
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
MusicBrainz Search Server

Add release group ID to the web service indexed search results for recordings

Created: 08/May/12 11:58 PM   Updated: 12/May/12 12:30 PM   Resolved: 11/May/12 01:39 PM
Component/s: None
Affects Version/s: None
Fix Version/s: 2012-05-15


 Description  « Hide

Currently, /ws/2/recording?query= returns a <release-group /> element per <release />, but it only has a type attribute:
<release-group type="Album"/> (http://musicbrainz.org/ws/2/recording?limit=10&query=%22Wattershed%22%20AND%20artist:%22Foo%20Fighters%22%20AND%20release:%22Foo%20Fighters%22).

To perform a lookup of release groups, you first have to fetch the releases to get the release group IDs, which adds a lot of time to the operation (given that you can do at most one connection per second). Adding the ID to the already existing element would save a lot of time.

In addition, since I need release groups to get the original release date, it would be even better if <first-release-date /> could be added to the those results (I need it to rewrite Amarok tagger, and I've already - unsuccessfully - explored other possibilities with some developers in #musicbrainz-devel).



Sort Order: Ascending order - Click to sort in descending order
Paul Taylor added a comment - 11/May/12 01:39 PM

Fixed adding release group id to recording index.

Adding firstdate is more tricky and has not been done, if you still want that you'll need to raise another issue.


Alberto Villa added a comment - 11/May/12 10:26 PM

Thank you!
When should we expect the new version to be online?


Paul Taylor added a comment - 12/May/12 12:30 PM

This Tuesday