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

Missing/duplicate results in inline direct search

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2014-07-21
    • Component/s: Search
    • Labels:
      None

      Description

      When using the direct search from the relationship editor, some direct search results are missing from the dropdown, and others are duplicated.

      Example:

      Direct web-page search result:
      https://beta.musicbrainz.org/search?page=1&query=crush&type=work&limit=25&method=direct

      http://musicbrainz.org/ws/js/work?q=crush&direct=true&page=1
      http://musicbrainz.org/ws/js/work?q=crush&direct=true&page=2

      For me, the latter two pages contain duplicate results, and other results are missing entirely.

      There are 5 duplicates:
      "gid":"06ef7984-5db5-498d-94dc-11b52fe8e607"
      "gid":"0a723bb5-9521-4d89-8c27-f9a0b775f195"
      "gid":"29375702-750e-360d-ac92-0fb09a12699d"
      "gid":"99a85278-6e5a-3498-b55e-83bfffc761f3"
      "gid":"e5dd3572-524a-4fde-850b-01a13d7dab8a"

      I guess this also means that there are 5 missing results.

      Presumably this would be fixed by making sure that search results are always ordered consistently, or maybe using some other result pagination method

        Attachments

          Activity

            People

            • Assignee:
              ianmcorvidae Ian McEwen
              Reporter:
              hawke Alex Mauer
            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved:

                Packages

                Version Package
                2014-07-21