Moodle 3.1 Global Search

Moodle 3.1 Global Search

by Peter Koel -
Number of replies: 4

Hello Friends,

   I am using Moodle 3.1. I have a class that contains the Global Search block. I am searching for the word "Apple" which can be found in a number of assignment titles within the class. About half of my searches come back with No results. The other half of the time it works fine. I am using IE 11 as my web browser. Any ideas on what would cause this? How do I debug this issue? Here are my settings:

ASB-U: Administration: Plugins: Search: Manage global search

StepStatus
1. Select search engineSolr
2. Enable search areasYes
3. Setup search engineYes
4. Index dataYes
5. Enable global searchYes

I appreciate any suggestions.
Sincerely,
Peter

Average of ratings: -
In reply to Peter Koel

Re: Moodle 3.1 Global Search

by Peter Koel -

Any suggestions on how to debug this issue?

In reply to Peter Koel

Re: Moodle 3.1 Global Search

by Peter Koel -

Deleting and re-creating the index seems to have resolved the issue. Any ideas as to why, or what log file to look in next time?

In reply to Peter Koel

Re: Moodle 3.1 Global Search

by Ken Task -
Picture of Particularly helpful Moodlers

Installation am looking at has solr installed in /opt/solr/

There are three log files:

./server/logs/solr-8983-console.log
./server/logs/solr_gc.log
./server/logs/solr.log

You might take a gander at those to see if you find anything related to error - if it was really an error.

Appears solr uses it's own lingo which could be studied (if one had the time and inclination to do so).    See:

http://lucene.apache.org/solr/

There is a wiki:

https://wiki.apache.org/solr/Support

It has search.

'spirit of sharing', Ken

In reply to Peter Koel

Re: Moodle 3.1 Global Search

by Ken Task -
Picture of Particularly helpful Moodlers

Follow up ... is cron running at freqency now recommended ... every minute?

There is also a task related to search.

Global search indexing \core\task\search_index_task

and

Global search index optimization \core\task\search_optimize_task

which are executed as part of overall cron.

Then there is also the 'help' on searching ... which shows attached image.

'spirit of sharing', Ken

Attachment Screen Shot 2017-04-19 at 4.52.01 PM.png