Integrate Laravel Scout with your Nova resources.
Laravel\Scout\Searchable
trait is attached to a model associated with a Nova resource, Nova will automatically begin using Scout when performing searches against that resource. There is no other configuration required.
Laravel\Scout\Builder
instance before it executes your search query against your search engine, you may override the scoutQuery
method on your resource:
scoutSearchResults
property on the resource class that is associated with the Scout searchable model:
usesScout
method on the resource class. When Scout search support is disabled, simple database queries will be used to search against the given resource, even if the associated resource model includes the Scout Searchable
trait: