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

Reducing resource usage when multiple paged results of a query are requested

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • Response Writer
    • None

      When you do:

      musicbrainz.org/ws/2/artist/?query=fred&offset=25&limit=25

      you are asking for results 25-50, youv'e probabaly already seen results 0-25

      But currently the search server has to service this request by doing a lucene search for the first 50 docs, and then discrading the first 25.

      There is possibly a solution to this waste in Lucene 3.5
      https://issues.apache.org/jira/browse/LUCENE-2215

            Unassigned Unassigned
            ijabz Paul Taylor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                Version Package