You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Argument 1 passed to Matchish\ScoutElasticSearch\ElasticSearch\EloquentHitsIteratorAggregate::__construct() must be of the type array, null given, called in \xxx\vendor\matchish\laravel-scout-elasticsearch\src\Engines\ElasticSearchEngine.php on line 106
which I solved by editing the EloquentHitsIteratorAggregate constructor from
public function __construct(array $results, callable $callback = null)
to
public function __construct(?array $results, callable $callback = null)
(I did not make a PR for this since I just started working with the package and I am not sure if this is actually a bug. Let me know if you need me to make a quick PR)
The text was updated successfully, but these errors were encountered:
mauxtin
changed the title
Return more than 10 rows
Return more than 10 rows bug
May 31, 2019
Shouldn't these two return the same result?
At first the second query returns an error
which I solved by editing the
EloquentHitsIteratorAggregate
constructor fromto
(I did not make a PR for this since I just started working with the package and I am not sure if this is actually a bug. Let me know if you need me to make a quick PR)
The text was updated successfully, but these errors were encountered: