[mb-devel] Problem searching for Release

Vidar Wahlberg canidae at exent.net
Wed Oct 17 14:11:35 UTC 2007


On Wed, Oct 17, 2007 at 01:18:29PM +0100, Nicholas Humfrey wrote:
> Both methods use Lucene? So shouldn't the WebService still find a fuzzy
> match like the webpage does?

i'm sure it's not fuzzy matching, that's too heavy for the server.
although, i find this behaviour slightly peculiar;
- set title to just "Legend" and it match
- set title to "000 Legend" and it match
- set title to ",000 Legend" and it match
- set title to "10,000 Legend" and it won't match
- set title to "10, Legend" and it'll match again

my guess is:
"," is stripped, and the search requires all words to be present, eg.
it's searching for "10000Hz Legend", but in the database the name is "10
000 Hz Legend". just searching for one or more of the words "10", "000",
"Hz" or "Legend" with a space between each word will yield a result.

guess this won't help you much, though.

now i've been idle for quite some time and don't know exactly what this
xml webservice search thingy is meant for, but is there a reason why all
the words in the search must be present in the result?


-- 
Regards,
Vidar Wahlberg



More information about the MusicBrainz-devel mailing list