How to reproduce this entity search using the webservice

webservice
searchserver
Tags: #<Tag:0x00007fd5e10c7f60> #<Tag:0x00007fd5e10c7da8>

#1

I’m brand new to lucene and the search-server and I’m trying to reproduce webservice search results similar to this search form result: https://musicbrainz.org/search?query=Teen+Town&type=work&limit=25&method=indexed

Specifically how does the server populate the “artists” column? This work query returns the top result correctly but doesn’t include the artists info: http://musicbrainz.org/ws/2/work?query=work:“teen%20town”

Any help would be much appreciated


#2

For each returned work, you have to browse linked artists. For example with first returned work:

http://musicbrainz.org/ws/2/artist?work=0880bf3c-0285-402a-ad6f-a8fa08208d79

Relationship type with linked artists is shown on work page: