Tag Archive: radiantcms sunspot ruby

How to reindex a Radiant CMS site running solr

For a rails app, you just need to run:

rails sunspot:reindex

But this finds models in the app/models folder and a Radiant CMS site does not have this folder. To tell sunspot which models to reindex you can do this:

rake sunspot:reindex[100,ArticlePage]

This will reindex ArticlePage objects, 100 at a time. You may also want to reindex other objects.