Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-74785

Include SCORM content package in global search index

    XMLWordPrintable

Details

    • MOODLE_400_STABLE
    • MOODLE_401_STABLE
    • Hide

      NOTE: You need to have:

      1. Access to install solr server or a solr server installed that you can use (local or docker).

      Set-up

      1. Login as admin
      2. Navigate to Advanced features in site administration
      3. Tick Enable global search and save changes
      4. Go to Site administration > Plugins > Search > Solr and set:
        1. Configure hostname to localhost (or your solr docker container IP)
        2. Index name (indexname) to your solr moodle core name
        3. Port to your solr port (usually 8983)
        4. Ensure "Enable file indexing" (fileindexing) is checked
        5. Ensure "Maximum file size to index (kB)" (maxindexfilekb) is set to zero
      5. Save solr settings changes
      6. Create a Course and add the SCORM package RunTimeMinimumCalls_SCORM12.zip file from:
        https://github.com/moodle/moodle/raw/master/mod/scorm/tests/packages/RuntimeMinimumCalls_SCORM12.zip
        to the course.
      7. Go to Site administration > Plugins > Search > Manage global search.
      8. Click on Index data.
      9. Click on the button "Reindex all the site contents". 
      10. At some point this will finish and will show an 'All site contents have been reindexed. ' and the screen last run numbers will be updated.
      11. Navigate back to Site home
      12. Open the Search element in the page header
      13. Search for the following word: Etiquette
      14. Confirm you see the course with the SCORM added in the search results
      Show
      NOTE: You need to have: Access to install solr server or a solr server installed that you can use (local or docker). Set-up Login as admin Navigate to Advanced features in site administration Tick Enable global search and save changes Go to Site administration > Plugins > Search > Solr and set: Configure hostname to localhost (or your solr docker container IP) Index name (indexname) to your solr moodle core name Port to your solr port (usually 8983) Ensure "Enable file indexing" (fileindexing) is checked Ensure "Maximum file size to index (kB)" (maxindexfilekb) is set to zero Save solr settings changes Create a Course and add the SCORM package RunTimeMinimumCalls_SCORM12.zip file from: https://github.com/moodle/moodle/raw/master/mod/scorm/tests/packages/RuntimeMinimumCalls_SCORM12.zip to the course. Go to Site administration > Plugins > Search > Manage global search. Click on Index data. Click on the button "Reindex all the site contents".  At some point this will finish and will show an 'All site contents have been reindexed. ' and the screen last run numbers will be updated. Navigate back to Site home Open the Search element in the page header Search for the following word: Etiquette Confirm you see the course with the SCORM added in the search results

    Description

      The global search implementation for SCORM is missing the SCORM package file area so these aren't included in the search - we should add them.

      Attachments

        Activity

          People

            danmarsden Dan Marsden
            danmarsden Dan Marsden
            Laurent David Laurent David
            Ferran Recio Ferran Recio
            Angelia Dela Cruz Angelia Dela Cruz
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours, 15 minutes
                3h 15m

                Clockify

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.