Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-4066

Solr Statistics Schema is invalid/inaccurate after migrating from IDs to UUIDs

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 6.0, 6.1, 6.2, 6.3
    • Fix Version/s: 6.4, 7.0
    • Component/s: Solr, Statistics
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      3
    • Documentation Status:
      Needed

      Description

      In DSpace 6.x we migrated from integer-based IDs to UUIDs.  Unfortunately, we neglected to update the Solr Statistics Schema based on this change (see also DS-3602). 

      While Solr v4 (used by DSpace 6.x) doesn't seem to validate all queries against the schema.xml, later versions of Solr have strict validation (so we cannot easily upgrade Solr, as required in DS-3695). 

      Additionally, as noted in the comments of DS-3602, this incorrect schema may cause odd sorting behaviors in DSpace 6.x (as it attempts to treat UUIDs as integers).

      The schema should be updated and a migration script (see https://github.com/DSpace/DSpace/pull/1810) created.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                terrywbrady Terry Brady
                Reporter:
                tdonohue Tim Donohue
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: