|
| __construct ( $model, array $params) |
|
| setModel ( $model) |
| The stored model to use.
|
|
| setStore ( $store) |
| The name of the feature store to find the model in.
|
|
| addLtrParam ( $key, $value) |
| Add a parameter used for templated features.
|
|
| setLtrParams (array $params) |
| Set all parameters used for templated features.
|
|
◆ __construct()
CirrusSearch\Elastica\LtrQuery::__construct |
( |
| $model, |
|
|
array | $params ) |
- Parameters
-
string | $model | The stored model to use |
string[] | $params | map of string -> string containing templating parameters for ltr features. |
◆ _getBaseName()
CirrusSearch\Elastica\LtrQuery::_getBaseName |
( |
| ) |
|
|
protected |
◆ addLtrParam()
CirrusSearch\Elastica\LtrQuery::addLtrParam |
( |
| $key, |
|
|
| $value ) |
Add a parameter used for templated features.
- Parameters
-
- Returns
- self
◆ setLtrParams()
CirrusSearch\Elastica\LtrQuery::setLtrParams |
( |
array | $params | ) |
|
Set all parameters used for templated features.
- Parameters
-
string[] | $params | map of string -> string containing templating parameters for ltr features. |
- Returns
- self
◆ setModel()
CirrusSearch\Elastica\LtrQuery::setModel |
( |
| $model | ) |
|
The stored model to use.
- Parameters
-
- Returns
- self
◆ setStore()
CirrusSearch\Elastica\LtrQuery::setStore |
( |
| $store | ) |
|
The name of the feature store to find the model in.
- Parameters
-
- Returns
- self
The documentation for this class was generated from the following file:
- includes/Elastica/LtrQuery.php