-
Notifications
You must be signed in to change notification settings - Fork 58
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
Strapi Nested Relation Field , attributes not appearing #758
Comments
Hey @da-kicks-87 to add the nested fields in your final document, you should use the |
@bidoubiwa Here is my code from plugin.js meilisearch: { As an alternative solution I am calling GraphQL from my search results page to get the the This redundant since Meilisearch should be able to get the nest data. |
Hey @da-kicks-87, unfortunately we cannot do that as we cannot know to what extent we add the relationships? Do we also include the relations of the relations (etc etc...)? Adding listeners to these relationships would also be a mess. Unless we create a specific setting for it which feel free to suggest a solution for. About the populate rule, I had a hard time making it work as well but it is meant for this exact purpose. Could you ask on strapi's side why it doesn't work? |
Hey @da-kicks-87 Did you check if the attribute that you aren't getting is private or not? Because I wish this wasn't the case or there was an option to still index @bidoubiwa Is this the case? Or am I missing something? |
Hey @haZya ! This was introduced in this PR https://github.com/meilisearch/strapi-plugin-meilisearch/pull/703/files Could you create a new issue with your request? We can create a setting to allow private fields |
Description
I have connected Strapi with Meilisearch official plugin.
I am testing in the Meilisearch Mini Dashboard. My Strapi "Product" content type appears in the search results.
However for its Relationship Field "Product Variants" the array's object is missing the "Photos" attribute and more.
Why is this? Is there a limit on the nested results?
Screenshots or Logs
Environment
The text was updated successfully, but these errors were encountered: