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

Scout search doesn't map nested indexed relations in response #83

Closed
mandrean opened this issue Sep 27, 2016 · 1 comment
Closed

Scout search doesn't map nested indexed relations in response #83

mandrean opened this issue Sep 27, 2016 · 1 comment

Comments

@mandrean
Copy link
Contributor

Let's say you index a model with some relations to Algolia or Elastic. Nested relations instead of separate indices.

If you search directly using Algolia/Elastic, your response will contain records with the entire structure (nested and all).

But Scout will only map the raw results to the main model class and not include its relations in the response.

@mandrean
Copy link
Contributor Author

PR: #84

@themsaid themsaid closed this as completed Oct 2, 2017
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

No branches or pull requests

2 participants