Hi everybody.
I have this problem for a long time, and can't find a solution. I guess this might be something everybodys faced using Sphinx, but I cnanot get any usefull information.
I have one index, and a delta. I queried in a php module both indexes, and then show the results. For each ID in the result, I create an object for the model, and dsiplay main data for that model.
I delete one document from the database, phisically.
When I query the index, the ID for this deleted document is still there (in the sphinx result set). Maybe I can detect this by code, and avoid showing it, but the result set sphinx gaves me as result is wrong. xxx total_found, when really is xxx-1. For example, Sphinx gaves me the first 20 results, but one of this 20 results doesn't exists anymore, so I have to show only 19 results.
I re-index the main index once per day, and the delta index, each 5 minutes.
Is there a solution for this??
Thanks in advance!!