[mb-devel] [WebService] Question about entity IDs and List properties

Matthias Friedrich matt at mafr.de
Thu Feb 22 17:50:05 UTC 2007


On Thursday, 2007-02-22, Robert Kaye wrote:
> On Feb 21, 2007, at 10:18 PM, Matthias Friedrich wrote:
[...]
>> The web service should return offset and count attributes, too. I
>> guess that's not a bug, it's rather an unimplemented feature. Feel
>> free to enter a ticket for this, maybe Rob will fix this soon.

> I believe the proper term is 'hack'. Butt ugly hack. :-)

> Matthias: How do you think we should return that info? It doesn't  
> make sense to put it into mmd since its meta-metadata. Should I pass  
> this information via an XML extension? If so, what would you suggest  
> calling it?

I agree that we could model this using extensions, but since offset and
count are already in use and documented in the spec, I'd suggest to
stick with them. Anything else would just cause confusion.

According to our spec, the offset should be zero-based and count should
be the total number of entries available. You can probably just pass
through lucene's number of hits.

Cheers,
	Matthias



More information about the MusicBrainz-devel mailing list