Hola,

why do you call delta-indexing manually? The delta-index is updated
automatically whenever you create/save etc an AR instance.

I only run full indexing every 6 hours or so and until then let the
main + delta index do the job. But I don't do any extra/manual delta-
indexing..


C-J

On Jan 2, 7:58 pm, Canvas <[email protected]> wrote:
> Hi there guys,
>
> I trid pid_file and bin_path, it works quite nicely. But I have
> another question about delta index.
>
> I have a background daemon to run “rake thinking_sphinx:index:delta”
> every 20 seconds.  But the delta index built on the first call of
> “rake thinking_sphinx:index:delta” will be gone if the rake command is
> called a second time. If the rake command can not be called
> repeatedly, what’s the point of having it? This problem really
> conflicts with the delta index concept in my mind. I thought the delta
> index keeps accumulating when “rake thinking_sphinx:index:delta” is
> repeatedly called untill a “rake thingking_sphinx:index” or “rake
> thinking_sphinx:index:merge” is called.
>
> To walk around this, I am trying to modify thinking_sphinx_tasks.rb by
> adding function call "ts_merge(...)" into rake task
> "thinking_sphinx:index:delta". But I am not sure whether this the
> right approach or not.
>
> One more question, does “rake thingking_sphinx:index” clear delta
> index? Should I just run "rake thingking_sphinx:index" once when the
> searchd is started and schedule "rake thingking_sphinx:index:delta"
> and "rake thingking_sphinx:index:merge" in background daemons to run
> repeatedly?
>
> Thanks in advance. Any suggestion is appreciated.
>
> Cheers
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/thinking-sphinx?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to