CirrusSearch
Elasticsearch-powered search for MediaWiki
Loading...
Searching...
No Matches
CirrusSearch\Search\RecallCrossProjectBlockScorer Class Reference

Score based on total hits : log(total_hits + 2) More...

+ Inheritance diagram for CirrusSearch\Search\RecallCrossProjectBlockScorer:
+ Collaboration diagram for CirrusSearch\Search\RecallCrossProjectBlockScorer:

Public Member Functions

 score ( $prefix, CirrusSearchResultSet $results)
 
- Public Member Functions inherited from CirrusSearch\Search\CrossProjectBlockScorer
 __construct (array $settings)
 
 reorder (array $resultsets)
 Reorder crossproject blocks using the $scorer.
 

Detailed Description

Score based on total hits : log(total_hits + 2)

Member Function Documentation

◆ score()

CirrusSearch\Search\RecallCrossProjectBlockScorer::score ( $prefix,
CirrusSearchResultSet $results )
Parameters
string$prefix
CirrusSearchResultSet$results
Returns
float

Reimplemented from CirrusSearch\Search\CrossProjectBlockScorer.


The documentation for this class was generated from the following file: