Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-10999 Moodle 3.4 QA testing
  3. MDLQA-11519

CLONE - Enable/Disable global search areas

    XMLWordPrintable

    Details

      Description

      NOTE: You need to have

      1. Access to install solr server
      2. Admin access to Moodle test site.

      Test without solr instance

      1. Ensure solr server is not running
      2. Log in as admin and go to Site administration ► Plugins ► Search ► Manage global search
      3. Ensure you see red message "No solr configuration found"
      4. Go to Site administration ► Plugins ► Search ► Search areas
      5. Ensure
        • you see a red notification "The search engine is not available. Please contact your administrator."
        • Three buttons under notification are disabled.
      6. Try to enable and disable search areas, you should see the eye icons changing.

      Test search areas which are enabled show result

      1. Follow only 'Installation' section in https://docs.moodle.org/31/en/Global_search#How_to_install_Solr (replace 31 by the current version)
      2. Login as admin/teacher
      3. Create an assignment with name '111'
      4. Setup global search https://docs.moodle.org/31/en/Global_search and index your site's contents. (you should press 'Update indexed contents' or 'Reindex all site contents')
      5. Search for '111', the assignment you created SHOULD appear
      6. Disable "Assignment - activity information" search area on Site administration ► Plugins ► Search ► Search areas
      7. Search for '111', the assignment you created SHOULD NOT appear
      8. Enable "Assignment - activity information" search area on Site administration ► Plugins ► Search ► Search areas
      9. Search for '111', the assignment you created SHOULD appear
      10. Delete "Assignment - activity information" search area contents (click on "Delete index" link) on Site administration ► Plugins ► Search ► Search areas
      11. Search for '111', the assignment you created SHOULD NOT appear

        Attachments

          Activity

            People

            Assignee:
            sbourget Stephen Bourget
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: