Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-8196

dismax parameter is not respected when passed in a web service search query

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Normal Normal
    • None
    • None
    • Search
    • None

      Consider the following search results, both of which return 'Si Cranstoun' as the top hit:

      http://musicbrainz.org/search?query=si+cranston&type=artist&method=indexed
      http://search.musicbrainz.org/ws/2/artist/?query=si+cranston&dismax=true

      Having inspected Search.pm, the dismax argument is being added by default for a simple search. However, it is not being added by default for the following web service search:

      http://musicbrainz.org/ws/2/artist/?query=si+cranston&method=indexed

      The real problem being that adding a dismax argument doesn't seem to have any affect either:

      http://musicbrainz.org/ws/2/artist/?query=si+cranston&dismax=true&method=indexed

            Unassigned Unassigned
            mglubb Matthew Glubb
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package