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

    Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Indexer
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:

                Packages

                Version Package