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

Randomly ordered but consistent for a single user. More...

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

Public Member Functions

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

Detailed Description

Randomly ordered but consistent for a single user.

Constructor & Destructor Documentation

◆ __construct()

CirrusSearch\Search\RandomCrossProjectBlockScorer::__construct ( array $settings)

Member Function Documentation

◆ score()

CirrusSearch\Search\RandomCrossProjectBlockScorer::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: