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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T17:48:54+00:00 2026-05-19T17:48:54+00:00

I’m using Sphinx (v. 0.99) in my Java application. I also use it with

  • 0

I’m using Sphinx (v. 0.99) in my Java application.
I also use it with the thinking_sphinx plugin on a rails app.

For the Java app I am trying to use delta indexes – I’m mostly figuring it out from the existing rails config and app behaviour.

I have a boolean field called ‘delta’ on the model object that I search.
Whenever I update or create a record I set that delta field to true.
I’ve confirmed that the delta and main index queries in my sphinx config pick up the correct records based on that delta field.
Also, my code triggers a delta re-index whenever updating or inserting (I never delete data).

After updating a record it correctly appears in the delta index but of course a stale version is still in the main index.
I can see this by running the ‘search’ command manually.

So far, this all works the same as for my rails app – the rails app would also show a stale copy in the main index too if I check with the search command.

However, if I search via my rails app I no longer see that stale record (even though the command-line search shows it’s still there).
However, if I search via my Java app I still see that stale record in my results.

I’m guessing somehow the thinking_sphinx plugin is dealing with this in some way or I’ve got some configuration entry wrong somewhere.

I’ve been through the thinking_sphinx source to see if it’s handling this in some special way but I didn’t see anything obvious.

Ideally I want the same behaviour in my Java app.

My (Java) sphinx config is here.

  • 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-19T17:48:54+00:00Added an answer on May 19, 2026 at 5:48 pm

    I’m not an expert in thinking_sphinx or Java, but if you want a duplicated document to disappear from the main part of the index you can use Sphinx kill-list (http://sphinxsearch.com/docs/current.html#conf-sql-query-killlist). This was invented exactly for cases like yours.
    Hope it will help.

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

Sidebar

Related Questions

No related questions found

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.