I added the client relationship to the searchable array:
And want to search for these attributes:
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?
Hi there,
I can't get scout working properly with algolia.
I added the client relationship to the searchable array:
And want to search for these attributes:
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?