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

Global Search: Increase file indexing coverage

XMLWordPrintable

    • Any
    • MOODLE_34_STABLE
    • MOODLE_34_STABLE
    • MDL-59459_Increase_file_indexing_coverage
    • Moderate
    • Hide
      1. Setup a test Moodle with Global search enabled
      2. enable file indexing for Global search
      3. create a course with one of every activity and resource type
      4. Create a text file with known content for every activity and resource added.
        1. If the content of each file contains a unique string, this can be used later to make searching file content easier.
      5. For the following activities add a text file to the WYSIWYG description area of the module: choice, quiz, survey, chat, feedback, SCORM, label, url
        1. To add a file to the description area for these module types. Make a link in the description and set the source to the corresponding created text file (browse repositories > upload file)
      6. For the assign activity.
        1. Add a file to the description as previously described
        2. Add a file to the additional files section as well, make sure content is different to file added to description
      7. For the forum activity.
        1. Add a file to the description as previously described
        2. Once forum activity is created add a new discussion topic
        3. In the discussion topic add a file to the topic message, following steps outlined in ‘5’ above
        4. Add a file to the attachment files section as well, make sure content is different to file added to description.
      8. For the glossary activity.
        1. Add a file to the description as previously described
        2. Once activity is created add a new entry
        3. In the entry add a file to the definition description, following steps outlined in ‘5’ above
        4. Add a file to the attachment files section as well, make sure content is different to file added to description.
      9. For the lesson activity
        1. Add a file to the description as previously described
        2. Once activity is created add a new essay question type
        3. In the question add a file to the page contents, following steps outlined in ‘5’ above
      10. For the wiki activity
        1. Add a file to the description as previously described
        2. Create a new “first page” with HTML format
        3. In the first page HTML content  add a file to the contents, following steps outlined in ‘5’ above
      11. For the database activity
        1. Add a file to the description as previously described
        2. The database activity needs to have multiple fields setup before it’s contents can be added using global search. From the fields tab add a: text area, text field and url field types and save
        3. Add a new entry to the database.
        4. In the text area field  add a file to the contents, following steps outlined in ‘5’ above
      12. For the workshop activity
        1. Add a file to the description as previously described
        2. Add a files to the submission, assessment and feedback section as well, make sure content is different to in each section.
      13. For the book activity
        1. Add a file to the description as previously described
        2. Create a new book chapter
        3. In the chapter content section add a file to the contents, following steps outlined in ‘5’ above
      14. For the file activity.
        1. Add a file to the description as previously described
        2. Add a file to the selected files section as well, make sure content is different to file added to description
      15. For the folder activity.
        1. Add a file to the description as previously described
        2. Add a file to the selected files section as well, make sure content is different to file added to description
      16. For the page activity
        1. Add a file to the description as previously described
        2. Create a new book chapter
        3. In the HTML page content section add a file to the contents, following steps outlined in ‘5’ above
      17. Use global search to re index the contents of the site. Index via the command line is recommended
      18. Use the global search UI to search for the known content in the indexed files. Search results should appear for each module that contains a file with the entered search term.
      19. Repeat the search for every file content added to a module

       

      Success criteria: search results should be found based on the text file content added to each module in the course.

      Show
      Setup a test Moodle with Global search enabled enable file indexing for Global search create a course with one of every activity and resource type Create a text file with known content for every activity and resource added. If the content of each file contains a unique string, this can be used later to make searching file content easier. For the following activities add a text file to the WYSIWYG description area of the module: choice, quiz, survey, chat, feedback, SCORM, label, url To add a file to the description area for these module types. Make a link in the description and set the source to the corresponding created text file (browse repositories > upload file) For the assign activity. Add a file to the description as previously described Add a file to the additional files section as well, make sure content is different to file added to description For the forum activity. Add a file to the description as previously described Once forum activity is created add a new discussion topic In the discussion topic add a file to the topic message, following steps outlined in ‘5’ above Add a file to the attachment files section as well, make sure content is different to file added to description. For the glossary activity. Add a file to the description as previously described Once activity is created add a new entry In the entry add a file to the definition description, following steps outlined in ‘5’ above Add a file to the attachment files section as well, make sure content is different to file added to description. For the lesson activity Add a file to the description as previously described Once activity is created add a new essay question type In the question add a file to the page contents, following steps outlined in ‘5’ above For the wiki activity Add a file to the description as previously described Create a new “first page” with HTML format In the first page HTML content  add a file to the contents, following steps outlined in ‘5’ above For the database activity Add a file to the description as previously described The database activity needs to have multiple fields setup before it’s contents can be added using global search. From the fields tab add a: text area, text field and url field types and save Add a new entry to the database. In the text area field  add a file to the contents, following steps outlined in ‘5’ above For the workshop activity Add a file to the description as previously described Add a files to the submission, assessment and feedback section as well, make sure content is different to in each section. For the book activity Add a file to the description as previously described Create a new book chapter In the chapter content section add a file to the contents, following steps outlined in ‘5’ above For the file activity. Add a file to the description as previously described Add a file to the selected files section as well, make sure content is different to file added to description For the folder activity. Add a file to the description as previously described Add a file to the selected files section as well, make sure content is different to file added to description For the page activity Add a file to the description as previously described Create a new book chapter In the HTML page content section add a file to the contents, following steps outlined in ‘5’ above Use global search to re index the contents of the site. Index via the command line is recommended Use the global search UI to search for the known content in the indexed files. Search results should appear for each module that contains a file with the entered search term. Repeat the search for every file content added to a module   Success criteria: search results should be found based on the text file content added to each module in the course.

      The current scope of files collected for search indexing is limited. A quick test indicates that files are only collected for:

      • Assignment additional files
      • Folder files
      • Forum post attachment
      • File attachment

      It would be good if files added to activity and resource text areas, i.e. descriptions were also able to be indexed. The use case here is if in a description for an activity there is a file added that contains more information about the activity. It would an advantage to be able to search this content as well.  It would also allow search engine plugins to be able to index non text files such as images.

            mattp@catalyst-au.net Matt Porritt
            mattporritt Matt Porritt (Inactive)
            David Monllaó David Monllaó
            Dan Poltawski Dan Poltawski
            Ankit Agarwal Ankit Agarwal
            Votes:
            3 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved:

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