DEV Community

Giritharan
Giritharan

Posted on

Answer: How to avoid N+1 when reindexing models with Searchkick

Hopefully in searchkick eager load method is available, we can use includes with help of the search_import method.

You can refer more about on searchkick documentation here.

From above sample data, i have seen your program table have has one association with provider, category, etc. with help of that…

Top comments (0)