Help needed with modifying global search results

Help needed with modifying global search results

by Fasih Zafar -
Number of replies: 0

Hello fellow moodlers, I'm new to moodle and need your help on a problem I'm stuck at. Thanks 

A little background about the problem:

I'm using moodle global search with elastic search as the backend engine. Everything works fine

What is the problem:
As I mentioned above, everything is working fine I'm getting all the search results. What I want to achieve next is to filter some entries from the result.

Example for better understanding:
I'm interested in viewing all courses on the site. I did a query "q=*" and filtered for courses and get all the courses but I deliberately want to hide a course and everything associated with it. (This is a simple example my use case is more general and would apply to other activities too).

Average of ratings: Useful (1)