public __construct ( string $field, string $direction, string $nestedPath, Smile\ElasticsuiteCore\Search\Request\QueryInterface $nestedFilter = null, string $scoreMode = self::SCORE_MODE_MIN, string $name = null ) | ||
$field | string | Sort order field. |
$direction | string | Sort order direction. |
$nestedPath | string | Nested sort path. |
$nestedFilter | Smile\ElasticsuiteCore\Search\Request\QueryInterface | The filter applied to the nested sort. |
$scoreMode | string | Method used to aggregate the sort if there is many match for the filter. |
$name | string | Sort order name. |