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 3944034
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T00:51:08+00:00 2026-05-20T00:51:08+00:00

I have a WordPress-based website which uses Sphinx as a search engine, with a

  • 0

I have a WordPress-based website which uses Sphinx as a search engine, with a usual cron job rebuilding Sphinx index every N hours by accessing site’s MySQL database. This works fine except when the post is created or edited – in that case, until the time comes to rebuild the index, it remains unindexed or indexed with obsolete attributes.

According to the Sphinx PHP API documentation only updating of the already indexed documents is allowed and there is apparently no way of adding a new document into index without rebuilding it from scratch or merging with a delta one. There is no way to remove a document from the index as well.

Besides, peeking into UpdateAttributes source code reveals that only numeric attributes are allowed to update (other types are filtered out by assertion). This makes me think that updating index on the fly isn’t really welcomed by Sphinx developers.

Are there any ways around to solve that problem and to modify index not only on schedule for everything but on demand for particular documents? Or it is a bad practice with Sphinx, and using a frequently updated delta index merged with the main one is an acceptable solution even if there is only a single document to update?

Thanks in advance.

  • 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-20T00:51:09+00:00Added an answer on May 20, 2026 at 12:51 am

    You can try Sphinx real time indexes (http://sphinxsearch.com/docs/current.html#rt-overview) to add one single document to an existing index without rebuilding the whole index.

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

Sidebar

Related Questions

I have a website based on wordpress. I want to implement a click tracking
I have a (Wordpress powered) website, and Google is indexing some of the sub-directories.
I have a WordPress site (2.6.2) in which I have set the Home page
I am trying to convert my wordpress site which is based on MYSQl to
Situation: I am running my website on wordpress. I have installed the Simple Facebook
i have a wordpress blog and want to give people the same user experience
I've noticed that a few Wordpress blogs have query statistics present in their footer
I have a friend who has code like this in his wordpress files: Blockquote
I'm starting a Wordpress Blog that will have adult content on it, so I'll
I've got a plugin I wrote for wordpress and I need to have the

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.