MediaWiki master
SearchExactMatchRescorer.php File Reference

Rescores results from a prefix search/opensearch to make sure the exact match is the first result. More...

Go to the source code of this file.

Classes

class  MediaWiki\Search\SearchExactMatchRescorer
 An utility class to rescore search results by looking for an exact match in the db and add the page found to the first position. More...
 

Namespaces

namespace  MediaWiki\Search
 Definition of a mapping for the search index field.
 

Detailed Description

Rescores results from a prefix search/opensearch to make sure the exact match is the first result.

Note
GPL-2.0-or-later

Definition in file SearchExactMatchRescorer.php.