Holds the Elastic search requests meant to be sent to the _msearch endpoint.
More...
|
static | build ( $key, Search $search) |
|
Holds the Elastic search requests meant to be sent to the _msearch endpoint.
Users attach a search request identified by a key and after the search requests have been submitted to the backend the response can later then be retrieved using that same key. @See MSearchResponses
◆ addRequest()
CirrusSearch\Search\MSearchRequests::addRequest |
( |
| $key, |
|
|
Search | $search ) |
◆ build()
static CirrusSearch\Search\MSearchRequests::build |
( |
| $key, |
|
|
Search | $search ) |
|
static |
◆ dumpQuery()
CirrusSearch\Search\MSearchRequests::dumpQuery |
( |
| $description | ) |
|
◆ failure()
CirrusSearch\Search\MSearchRequests::failure |
( |
Status | $status | ) |
|
- Parameters
-
- Returns
- MSearchResponses
◆ getRequests()
CirrusSearch\Search\MSearchRequests::getRequests |
( |
| ) |
|
◆ toMSearchResponses()
CirrusSearch\Search\MSearchRequests::toMSearchResponses |
( |
array | $resultSets | ) |
|
- Parameters
-
\Elastica\ResultSet[] | $resultSets | |
- Returns
- MSearchResponses
The documentation for this class was generated from the following file:
- includes/Search/MSearchRequests.php