Property | Type | Description | |
---|---|---|---|
$expiryTime | string |
Property | Type | Description | |
---|---|---|---|
$_currentResultSet | null | |
||
$_nextScrollId | null | string | ||
$_options | array | 0: scroll 1: scroll id 2: search type. |
|
$_search |
Method | Description | |
---|---|---|
__construct ( |
Constructor. | |
current ( ) : |
Returns current result set. | |
key ( ) : string | Returns scroll id. | |
next ( ) | Next scroll search. | |
rewind ( ) | Initial scroll search. | |
valid ( ) : boolean | Returns true if current result set contains at least one hit. |
Method | Description | |
---|---|---|
_revertOptions ( ) | Revert search options to previously saved state. | |
_saveOptions ( ) | Save all search options manipulated by Scroll. | |
_setScrollId ( |
Prepares Scroll for next request. |
public __construct ( |
||
$search | ||
$expiryTime | string |
protected _revertOptions ( ) |
protected _saveOptions ( ) |
protected _setScrollId ( |
||
$resultSet |
protected null|ResultSet,elastica $_currentResultSet | ||
return | null | |
protected array $_options | ||
return | array |