Jean-Philippe Murray

Results 22 comments of Jean-Philippe Murray

``` public function toSearchableArray() { $array = $this->toArray(); unset($array['title_version']); unset($array['original_release_date']); return $array; } ```

Leaving a bit more trace so maybe it can help trying to solve it. Putting the toSearchableArray method to this: ``` public function toSearchableArray() { return [ $this->getKeyName() => $this->getKey(),...

Thanks for yout suggestion @pwnz22, but it didn't work :( What I can see is that the driver (or tnt search) is _assuming_ an ID named `id`. Problem is, the...

@nticaric I just tried with the public $primaryKey, didn't worked :( As for the error, there is none! It just stops, like the command would when it reached the end.

Just before we do that, so we're clear and I don't bring you in a bug chase incorectly.... If I have `public $primaryKey = "song_id";` set in my model, I...

Now that is completely weird. I just tried to run with a smaller table (a bit over 2000 rows), and `tntsearch:import` runs up to 31199 rows :\

`php artisan tntsearch:import App\\Models\\EPF\\Song -v`

@nticaric Absolutely, I have. Although the connections are correctly specified in the model and it accesses the right data. (**EDIT:** just to be clear it accesses the right data if...

I'm not sure if that's what @rukavina wanted to say, but trying to find the next occurence, from _the present moment_ is what I think would be really great. Like...