Well, delayed_job/resque are definitely better from a server load perspective - 
means your HTTP requests aren't waiting for indexer to do its thing. I 
certainly recommend those as the better delta options - but they're certainly 
not the only two.

-- 
Pat

On 09/02/2012, at 4:06 PM, Ulugbek Baymuradov wrote:

> That's great, wish I knew that 6 months ago.
> 
> 
> On Feb 8, 2012, at 9:04 PM, Pat Allan wrote:
> 
>> 
>> Not true - only if you're using those specific approaches to deltas. You can 
>> certainly use delta indexing without delayed job or resque (well, that's if 
>> you're not hosting on Heroku and using Flying Sphinx).
>> 
>> The first thing I'd recommend checking is having a look in your nginx or 
>> apache error logs to see what the output from the indexer is. A common issue 
>> is that indexer isn't available via PATH, so you may want to set bin_path 
>> for your production environment in config/sphinx.yml. Otherwise, it could 
>> also be a permissions error. Both are documented here:
>> http://freelancing-god.github.com/ts/en/common_issues.html#deltas
>> 
>> -- 
>> Pat
>> 
>> On 09/02/2012, at 4:01 PM, Ulugbek Baymuradov wrote:
>> 
>>> Hey, 
>>> 
>>> Delta indexing relies on delayed_job or resque worker. Make sure you set up 
>>> that as well. 
>>> 
>>> Bek
>>> 
>>> On Feb 8, 2012, at 8:44 PM, Surbhi wrote:
>>> 
>>>> Hi,
>>>> 
>>>> When I create a new record, the newly created instance is not getting
>>>> searched. The instance appears in search only when I re-index use rake
>>>> tasks.
>>>> 
>>>> I am running in production mode on a linux machine and the
>>>> configurations as below -
>>>> 
>>>> Sphinx server: sphinx-2.0.2
>>>> thinking-sphinx: 2.0.10
>>>> Rails: 3.1.1
>>>> Ruby: 1.9.3
>>>> 
>>>> I have defined my index as
>>>> 
>>>> define_index do
>>>> indexes :name
>>>> indexes updated_by_user.profile(:first_name), :as => :first_name
>>>> indexes updated_by_user.profile(:middle_initial), :as
>>>> => :middle_name
>>>> indexes updated_by_user.profile(:last_name), :as => :last_name
>>>> has users(:id), :as => :user_id
>>>> set_property :delta => true
>>>> end
>>>> 
>>>> Added colum delta in table as,
>>>> t.boolean  "delta" ,:default => true , :null => false
>>>> 
>>>> Is there something obvious I am missing?
>>>> 
>>>> Regards,
>>>> Surbhi
>>>> 
>>>> -- 
>>>> 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.
>>>> 
>>> 
>>> -- 
>>> 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.
>>> 
>> 
>> 
>> 
>> -- 
>> 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.
>> 
> 
> -- 
> 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.
> 



-- 
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