Am 31.12.2008 um 19:47 schrieb Jochen Kaechelin:
>
> How can I prevent the automatic index generating (delta = true) during
> a huge import?
Found the solution by myself:
Product.suspended_delta do
FasterCSV.foreach("/Users/xxx/yyy/file.csv", :col_sep => "," ) do
|row|
p = Product.create( ...... )
end
end
--
Jochen
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---