algolia / scout-extended

Scout Extended: The Full Power of Algolia in Laravel
https://www.algolia.com/doc/framework-integration/laravel/getting-started/introduction-to-scout-extended/
MIT License
397 stars 84 forks source link

Can't get the correct results #201

Open nouce opened 5 years ago

nouce commented 5 years ago

Hi there,

I can't get scout working properly with algolia.

I added the client relationship to the searchable array:

Schermafbeelding 2019-09-09 om 14 14 04

And want to search for these attributes:

Schermafbeelding 2019-09-09 om 14 15 17

when i do Project::search($keyword)->where('user_id', $request->user_id)->where('finished', true)->orderBy('created_at', 'DESC')->paginate(10); i don't get any result.

But the records are uploaded to algolia en indexed correcty and when i search in the algolia dashboard i get the correct results. Does anyone know what i'm doing wrong?