Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6369241
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T00:46:43+00:00 2026-05-25T00:46:43+00:00

I read the wiki and it looks like that this will do the job

  • 0

I read the wiki and it looks like that this will do the job of recreating the index in solr

rake sunspot:reindex

However I am not sure whether this rake task is meant to update the index only when there are changes to the indexed fields.

I am looking for a way to ‘re-organize’ the indices after incremental updates to the index caused by indexing data.

This article basically describes what I want to avoid.

http://blogs.7digital.com/dev/2010/07/07/commit-strategies-for-incremental-solr-updates/

After many incremental update, the performance of the index will degrade. I want to run a task (rake task) every so often that will re build the index to eradicate the performance degradation after updates.

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T00:46:43+00:00Added an answer on May 25, 2026 at 12:46 am

    rake sunspot:reindex will re-index every model

    Sunspot hooks into models that are searchable, and will update them on-save with incremental updates.

    rake sunspot:reindex sounds like it’s what you want to do a full re-index.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a directory that looks like this: pages/ folder1/ folder1.filename1.txt folder1.filename2.txt folder2/ folder2.filename4.txt
I've read an article about the Named Loop Idiom in C++ : http://en.wikibooks.org/wiki/More_C%2B%2B_Idioms/Named_Loop This
I have read the explanation in http://en.wikipedia.org/wiki/PageRank and i understand that the page rank
I read on OSDev wiki, that protected mode of x86 architecture allow you to
UPDATE: It was suggested in the comments that I create a wiki for this.
I have read the page in Emacs wiki which contains a list of session
I google'd a bit and read http://en.wikipedia.org/wiki/Portable_Executable but i can't seem to find when
After running into the Yii asset engine I've read the official documentation (http://www.yiiframework.com/wiki/148/understanding-assets/). I
I have a question about the C++ visibility attribute. I have read http://gcc.gnu.org/wiki/Visibility and
Read on before you say this is a duplicate, it's not. (as far as

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.