-
-
Notifications
You must be signed in to change notification settings - Fork 123
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
When I make a search call like this:
$results = Statement::search('automated_detection:true')->options([
'size' => 100
])->keys();
I always get 10 results.
When I look at this function:
\Matchish\ScoutElasticSearch\Engines\ElasticSearchEngine::search
public function search(BaseBuilder $builder)
{
return $this->performSearch($builder, []);
}
the [] is always sending blank options.
When I change it to bring in the options.
public function search(BaseBuilder $builder)
{
return $this->performSearch($builder, $builder->options);
}
Then I get a result with 100 results in it.
Am I calling the options and search correctly? Is this a bug?
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed