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

  • Home
  • SEARCH
  • 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 3492426
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T11:45:25+00:00 2026-05-18T11:45:25+00:00

This is quite strange. I have 3 models (A, B, C). Were working perfectly

  • 0

This is quite strange. I have 3 models (A, B, C). Were working perfectly when crontab runs it.

Recently, I was having problem with indexing new entries for model A.

When I invoke rake ts:index RAILS_ENV=production manually, indexing runs fine. No error, problem. But, only model B, C get updated. Model A doesn’t get updated. I checked all the logs, there wasn’t any problem.

Here’s searchd.log:

[Mon Nov 29 15:02:27.920 2010] [ 7280] rotating indices (seamless=1)
[Mon Nov 29 15:02:28.211 2010] [ 7280] rotating index 'b_core': success
[Mon Nov 29 15:02:28.215 2010] [ 7280] rotating index 'c_core': success
[Mon Nov 29 15:02:28.216 2010] [ 7280] rotating finished

Here you will notice a_core doesn’t appear. All these while it was working fine. When I saw it running, it was indexing A, but when I checked my sphinx db when it was last updated, it was not updated. Permission for all Sphinx db is all the same.

The only way to get the indexing running well is to remove old sphinx db, and invoke an entire ts:rebuild. I haven’t tried removing the production.sphinx.conf though.

I did try to add delta indexing in the past before this happened. Well, delta indexing couldn’t work somehow, but the normal indexing was fine. Then, the indexing broke for model A. I didn’t realize it broke anyway. Then I turned off delta indexing without removing the column. (I still didn’t know indexing was running fine for model A). Then today I found out there was problem with model A indexing. So I thought maybe I didn’t remove the delta column in my database. So I removed the column, restarted MySQL, Apache, and model A index still doesn’t get updated.

I actually don’t think it has something to do with delta indexing. Because I added, then removed delta indexing for all A, B, C models. If it should break, it should break all instead of just one model.

Please help. Thank you.

EDIT
Model A

  # ThinkingSphinx Index
  define_index do
    indexes :name, :sortable => true
    indexes address
    indexes city
    indexes state
    indexes country
    indexes spot_type
    indexes season
    indexes description
    has rating_average

  #  set_property :delta => true
  end

Model B

  # ThinkingSphinx Index
  define_index do
    indexes name
    indexes duration
    has budget, created_at, rating_average

  #  set_property :delta => true
  end
  • 1 1 Answer
  • 0 Views
  • 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-18T11:45:26+00:00Added an answer on May 18, 2026 at 11:45 am

    It turned out, my server ran out of disk space. Model A index is very much larger than other models. Even though indexing was successful, it couldn’t write to the disk (though there was no error ouput). But as I kept trying to add more and more contents to model A, and kept rebuilding, the disk space problem showed.

    So I increased my disk size. Now it’s fine.

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

Sidebar

Related Questions

This is a quite strange problem. I have set a setting variable in Application
I have this quite popular problem, but have failed to find a solution that
I'm trying to write quite strange query and i'm having problem with if statement,
I am facing quite a strange problem at the moment, I have wordpress and
I guess this is quite a strange question about models transformation. I am starting
Hallo, I have a quite strange problem in one of my C++ projects: I
I didn't really know how to phrase this question, its quite strange. I have
I have quite a strange problem , While copying one WidgetCollection from one FlowPanel
i have a quite strange problem. my class has -among others- following memers: GLboolean
Sorry for this foolish question, but I'm quite new to C++. I have a

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.