[mb-devel] Sorting

sarvesh sarvesh.com at gmail.com
Mon Dec 11 21:03:39 UTC 2006


Is it possible to get the results back sorted by
release-date? If not I have two options
1. Add the feature in musinbrainz server, if you approve that is.
2. Use replication, which is not going to be
feasible in terms of cost for me. Also, I am not using PostgreSQL
which means my own replication code.

Option 2 is not very viable for a small personal project.

Thanks,
Sarvesh

On 12/11/06, Robert Kaye <rob at eorbit.net> wrote:
>
>
> On Dec 9, 2006, at 2:16 PM, sarvesh wrote:
>
> > Hi,
> > I can't seem to find this information. Is it possible to get the
> > results of a web service call sorted on a particular field? If it
> > is not available I can add this feature if someone can guide me on
> > where and how this would best fit in the MB Server code. Here is an
> > example of what I am trying to do
> >
> > http://musicbrainz.org/ws/1/release/?
> > type=xml&artistid=72c536dc-7137-4477-
> > a521-567eeb840fa8&releasetypes=Official&limit=10
> >
> > This list returns a list of all official releases by Bob Dylan
> > problem is it is not sorted on any particular field.
>
> It is sorted by the score, which in this case is 100 for each of your
> hits so it looks like its not sorted. The score is a lucene ranking
> score, which is the text searching engine that handles the collection
> searches.
>
> I'll be doing a major revamp of the web service docs after the
> upcoming release on sunday.
>
> --
>
> --ruaok      Somewhere in Texas a village is *still* missing its idiot.
>
> Robert Kaye     --     rob at eorbit.net     --    http://mayhem-chaos.net
>
>
>
> _______________________________________________
> MusicBrainz-devel mailing list
> MusicBrainz-devel at lists.musicbrainz.org
> http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.musicbrainz.org/pipermail/musicbrainz-devel/attachments/20061211/74dfaa5d/attachment.htm


More information about the MusicBrainz-devel mailing list