There's also:
Model.suspended_delta do
# large import or something...
end
Which automatically runs the delta indexing after the block has been
run.
--
Pat
On 24/08/2009, at 7:51 PM, gmoniey wrote:
>
> Nevermind...I think I found it in the source.
>
> For those interested:
>
> ThinkingSphinx.deltas_enabled = false
>
> I was pretty close on my initial guess... =]
>
> On Aug 24, 11:47 am, gmoniey <[email protected]> wrote:
>> I have an app where I ingest a lot of data on occasion. I want to be
>> able to turn off the delta indexing across the board (i.e. for all
>> models) so that the ingest process goes a bit quicker. Afterward I
>> will simple re-index the entire db.
>>
>> Is there a convienent way to do this? i.e. ThinkingSphinx.delta_index
>> = false?
>>
>> Thanks.
> >
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---