python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Laravel Scout issue with relationship
Using Laravel scout I want to delete a record (on an Agent model), everything works well except that I'm redirecting to a list of agents after the delete, and since the queue is yet to be processed th...
Jeremy Belolo
Votes: 0
Answers: 1
Making a new attribute in Algolia using Laravel Scout's toSearchablaArray() doesn't work
I want to make a new attribute called categories for the categories of the product in Algolia, So I use toSearchableArray():
<?php
use Laravel\Scout\Searchable;
class Product extends Model
{
...
Zahra19977
Votes: 0
Answers: 0
Laravel Scout toSearchableArray attribute is not filterable
I've been doing some testing with laravel scout and according to the documentation (https://laravel.com/docs/8.x/scout#configuring-searchable-data), I've mapped my User model as such:
/**
* Get ...
abr
Votes: 0
Answers: 1