CirrusSearch
Elasticsearch-powered search for MediaWiki
Loading...
Searching...
No Matches
CirrusSearch\Search\CirrusSearchResultSet Interface Reference
+ Inheritance diagram for CirrusSearch\Search\CirrusSearchResultSet:
+ Collaboration diagram for CirrusSearch\Search\CirrusSearchResultSet:

Public Member Functions

 getElasticResponse ()
 
 getElasticaResultSet ()
 
 addInterwikiResults (CirrusSearchResultSet $res, $type, $interwiki)
 
 setRewrittenQuery (string $newQuery, $newQuerySnippet=null)
 
 setSuggestionQuery (string $suggestionQuery, $suggestionSnippet=null)
 

Member Function Documentation

◆ addInterwikiResults()

CirrusSearch\Search\CirrusSearchResultSet::addInterwikiResults ( CirrusSearchResultSet $res,
$type,
$interwiki )
Parameters
CirrusSearchResultSet$res
int$typeone of searchresultset::* constants
string$interwiki

Implemented in CirrusSearch\Search\BaseCirrusSearchResultSet, CirrusSearch\Search\InterleavedResultSet, and CirrusSearch\Search\ResultSet.

◆ getElasticaResultSet()

CirrusSearch\Search\CirrusSearchResultSet::getElasticaResultSet ( )

◆ getElasticResponse()

CirrusSearch\Search\CirrusSearchResultSet::getElasticResponse ( )

◆ setRewrittenQuery()

CirrusSearch\Search\CirrusSearchResultSet::setRewrittenQuery ( string $newQuery,
$newQuerySnippet = null )
Parameters
string$newQuery
HtmlArmor | string | null$newQuerySnippet

Implemented in CirrusSearch\Search\BaseCirrusSearchResultSet, CirrusSearch\Search\InterleavedResultSet, and CirrusSearch\Search\ResultSet.

◆ setSuggestionQuery()

CirrusSearch\Search\CirrusSearchResultSet::setSuggestionQuery ( string $suggestionQuery,
$suggestionSnippet = null )
Parameters
string$suggestionQuery
HtmlArmor | string | null$suggestionSnippet

Implemented in CirrusSearch\Search\BaseCirrusSearchResultSet, CirrusSearch\Search\InterleavedResultSet, and CirrusSearch\Search\ResultSet.


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