Maybe you need to implement a Solr server and select this as the Moodle site's search engine. Unlike the built-in Simple Search engine Solr supports more complex search criteria.
General developer forum
optimize the function of searching
This discussion has been locked so you can no longer reply to it.