algolia / algolia/scout-extended
Can't get the correct results
- Dominant language
- PHP
- Stars
- 420
- Forks
- 94
- PR merge metrics
- No merged PRs in 30d
Description
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?
Contributor guide
Research direction
Start from the Project::search(...) query and the model's searchable array, then compare its filters with the Algolia dashboard query. Done means identifying why the Laravel search returns no records and documenting or reproducing the corrected behavior; no project file or test is named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- laravel, php
- Domain
- backend, search
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100