Last.Fm API Error in Search

 
  • Last.Fm API Error in Search

    Hello all,
    If I use the Scrobbler API to find music I have some error in the search.
    For Example for track.search, if I use:

    [En attente de modération]
    the scrobbler return 9 results


    but if I use:

    [En attente de modération]
    the scrobbler return 0 result

    and if i complete the song name:

    [En attente de modération]
    the scrobbler return 54 result

    Why?

    • tburny a dit :...
    • Forum Moderator
    • 8 mai 2012, 11h25m
    This is a known bug. I hope last.fm will fix it soon :)

    Combo.fm: Combine your favourite radio stations! | My Blog | scala-lastfmapi | Cache2k - A high performance Java in-memory cache
    P.S.: Do not click here
    throw new PokemonException(); //Gotta catch 'em all
    My forum post reflects my personal opinion :)
    • pduin a dit :...
    • Équipe Last.fm
    • 8 mai 2012, 13h02m
    We have a bit better partial matching algorithm recently that is why you can search for "Albach" and find "Albachiara" (This wasn't possible last month).
    We index part of the whole name up to a certain number of characters that's why "albachiar" doesn't match (too long).
    We only do this for the most popular tracks, that's why you see 9 vs. 54 results.

    All these limitations are mostly there to keep things fast and results relevant.
    If search times won't be affected we might relax these constraints in the future.
    As for now I hope this explains your search results. :)

    • tburny a dit :...
    • Forum Moderator
    • 8 mai 2012, 13h44m
    Is it wired to Apache Solr?

    Combo.fm: Combine your favourite radio stations! | My Blog | scala-lastfmapi | Cache2k - A high performance Java in-memory cache
    P.S.: Do not click here
    throw new PokemonException(); //Gotta catch 'em all
    My forum post reflects my personal opinion :)
    • pduin a dit :...
    • Équipe Last.fm
    • 8 mai 2012, 14h35m
    yes, at least to the way we configure it. It is not a limitation of Solr if that is what you mean.

Les utilisateurs anonymes ne peuvent pas poster de messages. Merci de vous connecter ou de créer un compte pour pouvoir intervenir dans les forums.