extends |
Builder |
---|
Methods | ||
---|---|---|
public
|
__call($method, $parameters)
|
# |
public
|
scope(Closure $callback)
|
# |
public
|
orderByScore(string $direction = 'desc'): $this
|
# |
public
|
only(string|array|Arrayable $fields): $this
|
# |
public
|
mode(string $mode): $this
|
# |
public
|
inNaturalLanguageMode(): $this
|
# |
public
|
withQueryExpansion(): $this
|
# |
public
|
inBooleanMode(): $this
|
# |
public
|
count(): int
|
# |
Methods used from Illuminate\Support\Traits\Conditionable |
---|
when(), unless() |
Methods used from Illuminate\Support\Traits\Macroable |
---|
macro(), mixin(), hasMacro(), flushMacros(), __callStatic(), |
Methods used from Illuminate\Support\Traits\Tappable |
---|
tap() |
Constants | ||
---|---|---|
public
|
NATURAL_LANGUAGE = 'in natural language mode'
|
# |
public
|
QUERY_EXPANSION = 'in natural language mode with query expansion'
|
# |
public
|
BOOLEAN = 'in boolean mode'
|
# |
Properties | |||
---|---|---|---|
public
|
string
|
$mode
|
# |
public
|
array
|
$scopes = []
|
# |
Properties inherited from Laravel\Scout\Builder |
---|
$model, $query, $callback, $queryCallback, $afterRawSearchCallback, $index, $wheres, $whereIns, $whereNotIns, $limit, $orders, $options |
Properties used from Illuminate\Support\Traits\Macroable |
---|
$macros |