Details
-
Functional Test
-
Status: Passed
-
Minor
-
Moodle 3.2
-
None
Description
NOTE: You need to have
- Access to install solr server
- Admin access to Moodle test site.
Test without solr instance
- Ensure solr server is not running
- Log in as admin and go to Site administration ► Plugins ► Search ► Manage global search
- Ensure you see red message "No solr configuration found"
- Go to Site administration ► Plugins ► Search ► Search areas
- Ensure
- you see a red notification "The search engine is not available. Please contact your administrator."
- Three buttons under notification are disabled.
- Try to enable and disable search areas, you should see the eye icons changing.
Test search areas which are enabled show result
- Follow only 'Installation' section in https://docs.moodle.org/31/en/Global_search#How_to_install_Solr (replace 31 by the current version)
- Login as admin/teacher
- Create an assignment with name '111'
- 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')
- Search for '111', the assignment you created SHOULD appear
- Disable "Assignment - activity information" search area on Site administration ► Plugins ► Search ► Search areas
- Search for '111', the assignment you created SHOULD NOT appear
- Enable "Assignment - activity information" search area on Site administration ► Plugins ► Search ► Search areas
- Search for '111', the assignment you created SHOULD appear
- Delete "Assignment - activity information" search area contents (click on "Delete index" link) on Site administration ► Plugins ► Search ► Search areas
- Search for '111', the assignment you created SHOULD NOT appear