[mb-devel] Is there any more info on the ext:rating returned by
the xmlwebservice when you sort for tracks without a Puid
Vidar Wahlberg
canidae at exent.net
Thu Dec 7 16:14:29 UTC 2006
On Thu, Dec 07, 2006 at 10:21:57AM +0000, Paul Taylor wrote:
> Thanks for the super quick turnaround but tested this and dont think
> solution is quite right because the change now seems to mean that if you
> pass a number of a parameters to the search and one is completely
> incorrect you wont get any match at all (for example the title and
> artist are just about correct but the album name is completely wrong
> you wont get any match.) This has in effect downgraded the use of the
> rating and is more akin to a simple DB AND search.
>
> I think the original OR search was correct in principle, it just that
> the score should not approach 100% unless all the parameters passed
> matched. In my last example the title and track did match, but the
> artist completely didnt match (not sure about duration) so I would
> expect a rating of approximately 70% not 96%.
I'll allow myself to jump in here:
I've been fiddling a bit with this lucene thingy myself lately, and i
might have something you'll find interesting.
I'm working on creating a index and a "web service" which you can pretty
much feed with all the metadata you got. It's not finished yet (trying
to make it work with mod_python instead of cgi, currently it's way too
slow since it has to initialize the index per query), and it's not a
"stable" server.
Anyways, take a look at http://mb.samfundet.no/
You should have some insight in how lucene works, although i can give
you a quick example:
http://mb.samfundet.no/?query=europe countdown tracklengthsec:310 tracknum:1
Do however keep in mind that the "score:ext" pretty much is useless. You
can't use it to determine whether the right track is returned or not. It
may return 100 even if it's completly wrong. You'll have to do the
matching client side.
It is very likely that the server is unstable, i'm trying to push this
stuff on musicbrainz, although it needs more polishing first ;)
Use it for testing if you'd like, but don't expect it to always be up.
If it isn't you could let me know on irc (canidae at freenode) or by mail.
--
Regards,
Vidar Wahlberg
More information about the MusicBrainz-devel
mailing list