Uploaded image for project: 'Islandora'
  1. Islandora
  2. ISLANDORA-1607

Avoid using the RI to query for pages within books and newspapers

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Fix Version/s: 7.x-1.7
    • Component/s: Paged Content
    • Labels:
      None

      Description

      Currently querying for pages uses the RI to retrieve a list of pages and their dimensions (if available) for use within viewers and the "pages" tab.

      --Use Case--
      View an object within a viewer context or through the pages tab/management interface. All pages are currently grabbed using the resource index which can perform poorly on sites that have a large breadth or depth of objects.

      --Technical Approach--
      Utilize the Solr index to retrieve the pages quicker than relying on the RI. If the Solr query fails to retrieve results whether due to misconfiguration/Solr error/whathaveyou it'll default back to using the RI.

      --Test Case--
      Toggle the checkbox in the configuration for the paged content module and ensure that the three Solr fields for the "Solr width", "Solr height" and "Solr page sequence" field are configured correctly. Note that the before and after rendering of pages is the same in both the viewer and pages tab.

      --Impact--
      None.

      ----
      Jordan Dukart
      Developer
      discoverygarden inc. | Managing Digital Content

        Attachments

          Activity

            People

            • Assignee:
              jordandukart Jordan Dukart
              Reporter:
              jordandukart Jordan Dukart
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: