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.

Leave a Comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>