CirrusSearch
Elasticsearch-powered search for MediaWiki
|
Public Member Functions | |
__construct ( $searchContainedSyntax) | |
getElasticaResultSet () | |
@inheritDoc | |
searchContainedSyntax () | |
@inheritDoc | |
Public Member Functions inherited from CirrusSearch\Search\BaseCirrusSearchResultSet | |
hasMoreResults () | |
setSuggestionQuery (string $suggestionQuery, $suggestionSnippet=null) | |
shrink ( $limit) | |
extractResults () | |
extractTitles () | |
Extract all the titles in the result set. | |
addInterwikiResults (CirrusSearchResultSet $res, $type, $interwiki) | |
getInterwikiResults ( $type=self::SECONDARY_RESULTS) | |
hasInterwikiResults ( $type=self::SECONDARY_RESULTS) | |
setRewrittenQuery (string $newQuery, $newQuerySnippet=null) | |
hasRewrittenQuery () | |
getQueryAfterRewrite () | |
getQueryAfterRewriteSnippet () | |
hasSuggestion () | |
getSuggestionQuery () | |
getSuggestionSnippet () | |
count () | |
Count elements of an object https://php.net/manual/en/countable.count.php. | |
numRows () | |
getTotalHits () | |
Some search modes return a total hit count for the query in the entire article database. | |
getElasticResponse () | |
Protected Member Functions | |
transformOneResult (\Elastica\Result $result) | |
@inheritDoc | |
Protected Member Functions inherited from CirrusSearch\Search\BaseCirrusSearchResultSet | |
getTitleHelper () | |
Useful to inject your own TitleHelper during tests. | |
Additional Inherited Members | |
Static Public Member Functions inherited from CirrusSearch\Search\BaseCirrusSearchResultSet | |
static | emptyResultSet ( $searchContainedSyntax=false) |
CirrusSearch\Search\EmptySearchResultSet::__construct | ( | $searchContainedSyntax | ) |
bool | $searchContainedSyntax |
CirrusSearch\Search\EmptySearchResultSet::getElasticaResultSet | ( | ) |
@inheritDoc
Implements CirrusSearch\Search\CirrusSearchResultSet.
|
protected |
@inheritDoc
Reimplemented from CirrusSearch\Search\BaseCirrusSearchResultSet.