CirrusSearch
Elasticsearch-powered search for MediaWiki
Loading...
Searching...
No Matches
CirrusSearch\BuildDocument\Completion\IncomingLinksScoringMethod Class Reference

Very simple scoring method based on incoming links. More...

+ Inheritance diagram for CirrusSearch\BuildDocument\Completion\IncomingLinksScoringMethod:
+ Collaboration diagram for CirrusSearch\BuildDocument\Completion\IncomingLinksScoringMethod:

Public Member Functions

 score (array $doc)
 @inheritDoc
 
 getRequiredFields ()
 @inheritDoc
 
 setMaxDocs ( $maxDocs)
 
 explain (array $doc)
 Explain the score.
 

Detailed Description

Very simple scoring method based on incoming links.

Member Function Documentation

◆ explain()

CirrusSearch\BuildDocument\Completion\IncomingLinksScoringMethod::explain ( array $doc)

Explain the score.

Parameters
array$doc
Returns
array

Implements CirrusSearch\BuildDocument\Completion\SuggestScoringMethod.

◆ getRequiredFields()

CirrusSearch\BuildDocument\Completion\IncomingLinksScoringMethod::getRequiredFields ( )

◆ score()

CirrusSearch\BuildDocument\Completion\IncomingLinksScoringMethod::score ( array $doc)

◆ setMaxDocs()

CirrusSearch\BuildDocument\Completion\IncomingLinksScoringMethod::setMaxDocs ( $maxDocs)

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