Uploaded image for project: 'MusicBrainz Search Server'
  1. MusicBrainz Search Server
  2. SEARCH-614

Search by ASIN only works for one if many are associated

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • Indexer
    • None

      When a release has multiple ASINs associated to a it, it can only be queried by one.

       

      Example release:

      It appears that only one of the ASINs is placed in the database as a direct property of the release, whereas the others turn up dry.

      As a workaround, instead of querying by ASIN, I've tried searching for the ASIN using the URL search, checking whether the results are actually release ASINs and following the relation back, and that works – but that's awkward code, error-prone (who knows how Amazon URIs might change), and needlessly stresses the servers (as it does full-text search over URIs in an extra request instead of a precise lookup).

      The two ways to resolve this that come to my mind are:

      • Resolve the ASIN query search field to a joining query
      • Document tha ASIN query field to be an unreliable shortcut, and direct users (both in the API docs and in the web search when it comes up dry on an `asin:` query) to the proper way to do the search (which might be my workaround or an enhanced version thereof)

       

      Thanks for providing this infrastucture.

            Unassigned Unassigned
            chrysn chrysn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Version Package