We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Description It would be nice if this gem could to eager load relations of matched records
class Book scope with_author: -> { includes(:author) } end Book.search('Harry Potter', scope: :with_author)
I would add an optional scope parameter and used it here to load relations https://github.com/meilisearch/meilisearch-rails/blob/main/lib/meilisearch-rails.rb#L653
The text was updated successfully, but these errors were encountered:
Hi @DavertMik sorry for the late reply. Indeed it would be a nice addition, I go further if we had something like this:
Book.with_author.with_reviews.search('Harry Potter')
Sorry, something went wrong.
No branches or pull requests
Description
It would be nice if this gem could to eager load relations of matched records
I would add an optional scope parameter and used it here to load relations
https://github.com/meilisearch/meilisearch-rails/blob/main/lib/meilisearch-rails.rb#L653
The text was updated successfully, but these errors were encountered: