Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[10.x] Override attributesToRetrieve config to ensure search result is complete #751

Conversation

mmachatschek
Copy link
Contributor

Closes #750

Fixes occasions with meilisearch where users can set options on the Builder class like attributesToRetrieve which would restrict the search engine to include the unique identifiers on the search result.

Unfortunately if users customize their search engine calls this issue would still be possible as we have no control over the search result provided by the user.

@mmachatschek mmachatschek marked this pull request as ready for review July 4, 2023 05:55
@mmachatschek mmachatschek changed the title Override attributesToRetrieve config to ensure search result is complete [10.x] Override attributesToRetrieve config to ensure search result is complete Jul 4, 2023
@mmachatschek mmachatschek force-pushed the force_scoutkey_in_attributesToRetrieve branch from 0442bf5 to 4cce0c4 Compare July 4, 2023 05:57
@taylorotwell taylorotwell merged commit 49f76a7 into laravel:10.x Jul 4, 2023
@mmachatschek mmachatschek deleted the force_scoutkey_in_attributesToRetrieve branch July 4, 2023 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

attributesToRetrieve: array_flip(): Can only flip string and integer values, entry skipped
2 participants