scout-extended icon indicating copy to clipboard operation
scout-extended copied to clipboard

Can't get the correct results

Open nouce opened this issue 6 years ago • 0 comments

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?

nouce avatar Sep 09 '19 12:09 nouce