CirrusSearch
Elasticsearch-powered search for MediaWiki
Loading...
Searching...
No Matches
CirrusSearch\Fallbacks\ElasticSearchRequestFallbackMethod Interface Reference

A fallback method that is able to attach a complete search query to the main msearch request. More...

+ Inheritance diagram for CirrusSearch\Fallbacks\ElasticSearchRequestFallbackMethod:

Public Member Functions

 getSearchRequest (Client $client)
 Build a search to attach to the msearch request The results of this query is available from.
 

Detailed Description

A fallback method that is able to attach a complete search query to the main msearch request.

Results of the query are available from the FallbackRunnerContext

Member Function Documentation

◆ getSearchRequest()

CirrusSearch\Fallbacks\ElasticSearchRequestFallbackMethod::getSearchRequest ( Client $client)

Build a search to attach to the msearch request The results of this query is available from.

Parameters
Client$client
Returns
Search|null null if no additional request is to be executed for this method.
See also
FallbackRunnerContext::getMethodResponse()

Implemented in CirrusSearch\Fallbacks\IndexLookupFallbackMethod.


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