Dealyed_jobs does not update index after I update record

5 views
Skip to first unread message

robdoan

unread,
Dec 24, 2009, 12:29:41 AM12/24/09
to Thinking Sphinx
I used Delayed Deltas for Thinking Sphinx plugins to reindex after I
change record. But It only reindexs when I create new record. It does
not run reindex when I update record.

Could you please help me this issue ? Thank you.
I am sorry for my bad English.

my defined_index :

define_index do
indexes topic , :as=>:subject,:sortable=>true
indexes user(:first_name) , :as=>:name
indexes note , :as=>:content
indexes tag_keys
indexes list_expert_sub_area(:caption)
has created_at, user_id, status, privacy
set_property :delta => :delayed
end

Pat Allan

unread,
Dec 24, 2009, 12:36:43 AM12/24/09
to thinkin...@googlegroups.com
What version of Thinking Sphinx are you using? There was some issues with this in versions prior to 1.3.14 - I highly recommend upgrading.

--
Pat

> --
>
> You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group.
> To post to this group, send email to thinkin...@googlegroups.com.
> To unsubscribe from this group, send email to thinking-sphi...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
>
>

robdoan

unread,
Dec 24, 2009, 12:54:01 AM12/24/09
to Thinking Sphinx
I am using version 1.3.13. Thank you very much for your reply.
Message has been deleted

robdoan

unread,
Dec 24, 2009, 1:17:14 AM12/24/09
to Thinking Sphinx
I am sorry, It still does not work :(. If i stop sphinx (ts:stop), I
see delayed job work, but It have notice :

"WARNING: failed to open pid_file '/home/rob/Projects/svn_source/
Snember/trunk/source/log/searchd.development.pid'.
WARNING: indices NOT rotated.
2 jobs processed at 16.6399 j/s, 0 failed ...". And reindexing does
not do also.

If I start sphinx, delayed job does not do anything after I update
record.

Thanks for your helping.

On Dec 24, 12:36 pm, Pat Allan <p...@freelancing-gods.com> wrote:

Message has been deleted

robdoan

unread,
Dec 24, 2009, 1:29:54 AM12/24/09
to Thinking Sphinx
I am sorry, When I refresh, It posted the message again.

On Dec 24, 1:28 pm, robdoan <quydoant...@gmail.com> wrote:
> I am sorry, It still does not work :(. If i stop sphinx (ts:stop), I
> see delayed job work, but It have notice :
>
> "WARNING: failed to open pid_file '/home/rob/Projects/svn_source/
> Snember/trunk/source/log/searchd.development.pid'.
> WARNING: indices NOT rotated.
> 2 jobs processed at 16.6399 j/s, 0 failed ...". And reindexing does
> not do also.
>
> If I start sphinx, delayed job does not do anything after I update
> record.
>
> Thanks for your helping.
>
> On Dec 24, 12:36 pm, Pat Allan <p...@freelancing-gods.com> wrote:
>

Pat Allan

unread,
Dec 26, 2009, 12:01:39 AM12/26/09
to thinkin...@googlegroups.com
The delayed delta jobs expect that Sphinx is running. That said, it should work when Sphinx is running...

What version of ts-delayed-delta are you using?

--
Pat

On 24/12/2009, at 5:28 PM, robdoan wrote:

> I am sorry, It still does not work :(. If i stop sphinx (ts:stop), I
> see delayed job work, but It have notice :
>
> "WARNING: failed to open pid_file '/home/rob/Projects/svn_source/
> Snember/trunk/source/log/searchd.development.pid'.
> WARNING: indices NOT rotated.
> 2 jobs processed at 16.6399 j/s, 0 failed ...". And reindexing does
> not do also.
>
> If I start sphinx, delayed job does not do anything after I update
> record.
>
> Thanks for your helping.
>
>
>
> On Dec 24, 12:36 pm, Pat Allan <p...@freelancing-gods.com> wrote:

robdoan

unread,
Dec 29, 2009, 2:05:43 AM12/29/09
to Thinking Sphinx
I am using ts-delayed-delta version 1.0.2, sir.

Pat Allan

unread,
Dec 29, 2009, 7:43:01 AM12/29/09
to thinkin...@googlegroups.com
Just to confirm, you're using 1.3.14 now, yes?

--
Pat

Reply all
Reply to author
Forward
0 new messages